diff options
author | Eliot Horowitz <eliot@10gen.com> | 2009-03-12 09:54:21 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2009-03-12 09:54:21 -0400 |
commit | e2d87d8b1fbbdee7f77b9f7d6cecbf853e47d1de (patch) | |
tree | da5d6dd2ba1c715a5ab11ecafe0c4e24fb542f10 /stdafx.h | |
parent | 503fec523d155d8111ea933579ff0e4466a39aaf (diff) | |
download | mongo-e2d87d8b1fbbdee7f77b9f7d6cecbf853e47d1de.tar.gz |
debugBuild adds DEV
Diffstat (limited to 'stdafx.h')
-rw-r--r-- | stdafx.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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; |