summaryrefslogtreecommitdiff
path: root/src/third_party/s2
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2015-03-26 10:13:36 -0400
committerAndrew Morrow <acm@mongodb.com>2015-03-27 11:37:29 -0400
commit67cf6c0d51bf59a1933325c793b02c220283f331 (patch)
tree5ff86583c096e26b702c6754c4e41330061cc139 /src/third_party/s2
parent1fc9d37170bcf29068f02cc2898436281fe16d6a (diff)
downloadmongo-67cf6c0d51bf59a1933325c793b02c220283f331.tar.gz
SERVER-11020 Don't overload the meaning of _DEBUG, use our own debug macro
Diffstat (limited to 'src/third_party/s2')
-rwxr-xr-xsrc/third_party/s2/base/logging.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/third_party/s2/base/logging.h b/src/third_party/s2/base/logging.h
index f9327b9441e..8ec15778640 100755
--- a/src/third_party/s2/base/logging.h
+++ b/src/third_party/s2/base/logging.h
@@ -33,7 +33,7 @@
#define CHECK_NE(x, y) CHECK((x) != (y))
#define CHECK_NOTNULL(x) CHECK((x) != NULL)
-#ifdef _DEBUG
+#ifdef MONGO_CONFIG_DEBUG_BUILD
// Checking which is only fatal in debug mode
#define DCHECK(condition) CHECK(condition)
#define DCHECK_EQ(val1, val2) CHECK_EQ(val1, val2)