summaryrefslogtreecommitdiff
path: root/stdafx.h
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-03-12 09:54:21 -0400
committerEliot Horowitz <eliot@10gen.com>2009-03-12 09:54:21 -0400
commite2d87d8b1fbbdee7f77b9f7d6cecbf853e47d1de (patch)
treeda5d6dd2ba1c715a5ab11ecafe0c4e24fb542f10 /stdafx.h
parent503fec523d155d8111ea933579ff0e4466a39aaf (diff)
downloadmongo-e2d87d8b1fbbdee7f77b9f7d6cecbf853e47d1de.tar.gz
debugBuild adds DEV
Diffstat (limited to 'stdafx.h')
-rw-r--r--stdafx.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/stdafx.h b/stdafx.h
index adcfe89e881..caab527aa50 100644
--- a/stdafx.h
+++ b/stdafx.h
@@ -280,13 +280,17 @@ namespace mongo {
use this to log things just there.
*/
#if defined(_WIN32)
-#define DEV if( 0 )
#define WIN if( 1 )
#else
-#define DEV if( 0 )
#define WIN if( 0 )
#endif
+#if defined(_DEBUG)
+#define DEV if( 1 )
+#else
+#define DEV if( 0 )
+#endif
+
#define DEBUGGING if( 0 )
extern unsigned occasion;