summaryrefslogtreecommitdiff
path: root/src/mongo/platform
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@10gen.com>2013-07-05 11:20:41 -0400
committerAndy Schwerin <schwerin@10gen.com>2013-07-09 10:51:16 -0400
commitec44394db451217894da2a203b8015ce06cc85dc (patch)
treefe2a5531c213622d49627a631813203200a418d5 /src/mongo/platform
parent4fcb787834f6286cd42f07b798bc39efe2eec727 (diff)
downloadmongo-ec44394db451217894da2a203b8015ce06cc85dc.tar.gz
SERVER-10074 Fix compiler warning in rotatable_file_writer_test for win32.
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