summaryrefslogtreecommitdiff
path: root/src/third_party/s2
diff options
context:
space:
mode:
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)