summaryrefslogtreecommitdiff
path: root/src/mongo/util/safe_num_test.cpp
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2015-01-03 17:54:10 -0500
committerAndrew Morrow <acm@mongodb.com>2015-01-05 18:27:01 -0500
commitc43d8e0aa47f868a8b3cd7367d2f21c717e2ca3c (patch)
tree4f043489fbf600565dfb63311762208766702389 /src/mongo/util/safe_num_test.cpp
parentfe1a1055a60eef0b37ca389a4c516f27a17d04d1 (diff)
downloadmongo-c43d8e0aa47f868a8b3cd7367d2f21c717e2ca3c.tar.gz
SERVER-13256 Prohibit new uses of pch.h
Diffstat (limited to 'src/mongo/util/safe_num_test.cpp')
-rw-r--r--src/mongo/util/safe_num_test.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/util/safe_num_test.cpp b/src/mongo/util/safe_num_test.cpp
index 6bd3915b0e5..f1553262496 100644
--- a/src/mongo/util/safe_num_test.cpp
+++ b/src/mongo/util/safe_num_test.cpp
@@ -27,7 +27,10 @@
#include <limits>
-#include "mongo/pch.h" // for malloc/realloc pulled from bson
+#define MONGO_PCH_WHITELISTED
+#include "mongo/platform/basic.h"
+#include "mongo/pch.h"
+#undef MONGO_PCH_WHITELISTED // for malloc/realloc pulled from bson
#include "mongo/bson/bsontypes.h"
#include "mongo/util/safe_num.h"