summaryrefslogtreecommitdiff
path: root/pch.h
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-07-13 01:35:14 -0400
committerEliot Horowitz <eliot@10gen.com>2010-07-13 01:35:14 -0400
commit22653fdefeea36317cbe2557b9cb039e64512ce6 (patch)
tree8e5f81c0baf17719229f8db16dcb1f0a3c38b0d4 /pch.h
parent62737ff9c02edc92182e4781d5edf0d85a5e5b00 (diff)
downloadmongo-22653fdefeea36317cbe2557b9cb039e64512ce6.tar.gz
don't undef _WIN32 SERVER-1258
Diffstat (limited to 'pch.h')
-rw-r--r--pch.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/pch.h b/pch.h
index d629413e08c..fe3a5b82e5c 100644
--- a/pch.h
+++ b/pch.h
@@ -31,11 +31,13 @@
#endif
#if defined(WIN32)
-// so you don't have to define this yourself as the code seems to use it...
-#undef _WIN32
+
+#ifndef _WIN32
#define _WIN32
#endif
+#endif
+
#if defined(_WIN32)
# ifndef NOMINMAX
# define NOMINMAX