00001 00003 /* Copyright 2009 10gen Inc. 00004 * 00005 * Licensed under the Apache License, Version 2.0 (the "License"); 00006 * you may not use this file except in compliance with the License. 00007 * You may obtain a copy of the License at 00008 * 00009 * http://www.apache.org/licenses/LICENSE-2.0 00010 * 00011 * Unless required by applicable law or agreed to in writing, software 00012 * distributed under the License is distributed on an "AS IS" BASIS, 00013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00014 * See the License for the specific language governing permissions and 00015 * limitations under the License. 00016 */ 00017 00018 // If you define a new global un-prefixed macro, please add it here and in redef_macros 00019 00020 // #pragma once // this file is intended to be processed multiple times 00021 00022 00026 #if !defined(MONGO_EXPOSE_MACROS) && !defined(MONGO_MACROS_CLEANED) 00027 00028 // util/allocator.h 00029 #undef malloc 00030 #undef realloc 00031 00032 // util/assert_util.h 00033 #undef assert 00034 #undef dassert 00035 #undef wassert 00036 #undef massert 00037 #undef uassert 00038 #undef BOOST_CHECK_EXCEPTION 00039 #undef DESTRUCTOR_GUARD 00040 00041 // util/goodies.h 00042 #undef PRINT 00043 #undef PRINTFL 00044 #undef asctime 00045 #undef gmtime 00046 #undef localtime 00047 #undef ctime 00048 00049 // util/debug_util.h 00050 #undef DEV 00051 #undef DEBUGGING 00052 #undef SOMETIMES 00053 #undef OCCASIONALLY 00054 #undef RARELY 00055 #undef ONCE 00056 00057 // util/log.h 00058 #undef LOG 00059 00060 #define MONGO_MACROS_CLEANED 00061 #endif