diff options
author | Eric Milkie <milkie@10gen.com> | 2012-04-05 16:21:23 -0400 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2012-04-05 16:54:11 -0400 |
commit | 1d0aa0508067701394b597b982a9a804adb7f208 (patch) | |
tree | 8f464101c71171c0682b109a37097cd0553cd66d /src/mongo/util/debug_util.h | |
parent | d0235e5499f7d484d767fe8cfb792440d5efbd96 (diff) | |
download | mongo-1d0aa0508067701394b597b982a9a804adb7f208.tar.gz |
pare down pch.h some more
Moved some things out of pch.h; removed outright some other things.
Diffstat (limited to 'src/mongo/util/debug_util.h')
-rw-r--r-- | src/mongo/util/debug_util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/util/debug_util.h b/src/mongo/util/debug_util.h index cb9f95fbdfb..f1832565f50 100644 --- a/src/mongo/util/debug_util.h +++ b/src/mongo/util/debug_util.h @@ -38,8 +38,10 @@ namespace mongo { #if defined(_DEBUG) enum {DEBUG_BUILD = 1}; + const bool debug=true; #else enum {DEBUG_BUILD = 0}; + const bool debug=false; #endif #define MONGO_DEV if( DEBUG_BUILD ) |