summaryrefslogtreecommitdiff
path: root/src/mongo/util/debug_util.h
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2012-04-05 16:21:23 -0400
committerEric Milkie <milkie@10gen.com>2012-04-05 16:54:11 -0400
commit1d0aa0508067701394b597b982a9a804adb7f208 (patch)
tree8f464101c71171c0682b109a37097cd0553cd66d /src/mongo/util/debug_util.h
parentd0235e5499f7d484d767fe8cfb792440d5efbd96 (diff)
downloadmongo-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.h2
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 )