0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
mongodb/dbtests/macrotests.cpp

32 lines
423 B
C++
Raw Normal View History

#undef MONGO_EXPOSE_MACROS
#include "../client/dbclient.h"
#ifdef malloc
# error malloc defined 0
#endif
#ifdef assert
# error assert defined 1
#endif
#include "../client/parallel.h" //uses assert
#ifdef assert
# error assert defined 2
#endif
#include "../client/redef_macros.h"
#ifndef assert
# error assert not defined 3
#endif
#include "../client/undef_macros.h"
#ifdef assert
# error assert defined 3
#endif