summaryrefslogtreecommitdiff
path: root/src/mongo/platform
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/platform')
-rw-r--r--src/mongo/platform/windows_basic.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/platform/windows_basic.h b/src/mongo/platform/windows_basic.h
index 63f4933fa70..c9e68bb428b 100644
--- a/src/mongo/platform/windows_basic.h
+++ b/src/mongo/platform/windows_basic.h
@@ -56,6 +56,11 @@
# ifndef NOMINMAX
# define NOMINMAX
# endif
+
+// Do not complain that about standard library functions that Windows believes should have
+// underscores in front of them, such as unlink().
+#define _CRT_NONSTDC_NO_DEPRECATE
+
// tell windows.h not to include a bunch of headers we don't need:
# define WIN32_LEAN_AND_MEAN