summaryrefslogtreecommitdiff
path: root/stdafx.h
diff options
context:
space:
mode:
authorDwight <dmerriman@gmail.com>2009-02-02 18:18:22 -0500
committerDwight <dmerriman@gmail.com>2009-02-02 18:18:22 -0500
commitd1ba9dfb497031952f774c7972fdeea4d2992189 (patch)
tree9a5cd8bd0be45a9efe4eb727be9005cd495595bc /stdafx.h
parentc8acc4ac0a0d6dba77435768fbc61cc40f55e8c9 (diff)
downloadmongo-d1ba9dfb497031952f774c7972fdeea4d2992189.tar.gz
datastore work
Diffstat (limited to 'stdafx.h')
-rw-r--r--stdafx.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/stdafx.h b/stdafx.h
index 4c63fd5a0f9..c6a3669f85a 100644
--- a/stdafx.h
+++ b/stdafx.h
@@ -191,7 +191,11 @@ namespace mongo {
/* dassert is 'debug assert' -- might want to turn off for production as these
could be slow.
*/
+#if defined(_DEBUG)
#define dassert assert
+#else
+#define dassert(x)
+#endif
} // namespace mongo