summaryrefslogtreecommitdiff
path: root/dbtests/macrotests.cpp
diff options
context:
space:
mode:
authorAntonin Kral <a.kral@bobek.cz>2012-05-10 06:57:54 +0200
committerAntonin Kral <a.kral@bobek.cz>2012-05-10 06:57:54 +0200
commit61619b3142c1de8f60f91964ff2656054d4f11a6 (patch)
treed3aaf9d1e70cac8efa0856e5b5ba39e2fb9dc526 /dbtests/macrotests.cpp
parenteaaa7b30c99b89b5483e0a372bb73fe8c8695185 (diff)
downloadmongodb-61619b3142c1de8f60f91964ff2656054d4f11a6.tar.gz
Imported Upstream version 2.0.5
Diffstat (limited to 'dbtests/macrotests.cpp')
-rw-r--r--dbtests/macrotests.cpp18
1 files changed, 4 insertions, 14 deletions
diff --git a/dbtests/macrotests.cpp b/dbtests/macrotests.cpp
index f547c85..36167b0 100644
--- a/dbtests/macrotests.cpp
+++ b/dbtests/macrotests.cpp
@@ -22,26 +22,16 @@
# 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
+#ifndef malloc
+# error malloc not defined
#endif
#include "../client/undef_macros.h"
-#ifdef assert
-# error assert defined 3
+#ifdef malloc
+# error malloc defined 1
#endif