0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-29 16:47:28 +01:00
mongodb/dbtests/macrotests.cpp

32 lines
423 B
C++

#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