diff options
author | dwight <dwight@10gen.com> | 2010-06-07 21:50:36 -0400 |
---|---|---|
committer | dwight <dwight@10gen.com> | 2010-06-07 21:50:36 -0400 |
commit | 4c51a62b5bddf47b8d2592028f1a6a6d834d65af (patch) | |
tree | bf017098aa5dadcd573116f66b41390e823bc8e3 /pch.h | |
parent | 001b28d3f6d188a8806de4ec7e50d54f749bfe62 (diff) | |
download | mongo-4c51a62b5bddf47b8d2592028f1a6a6d834d65af.tar.gz |
shell cleaning
Diffstat (limited to 'pch.h')
-rw-r--r-- | pch.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -34,6 +34,12 @@ # define _CRT_SECURE_NO_WARNINGS #endif +#if defined(WIN32) +// so you don't have to define this yourself as the code seems to use it... +#undef _WIN32 +#define _WIN32 +#endif + #if defined(_WIN32) # define NOMINMAX # include <winsock2.h> //this must be included before the first windows.h include |