diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-07-13 01:35:14 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-07-13 01:35:14 -0400 |
commit | 22653fdefeea36317cbe2557b9cb039e64512ce6 (patch) | |
tree | 8e5f81c0baf17719229f8db16dcb1f0a3c38b0d4 /pch.h | |
parent | 62737ff9c02edc92182e4781d5edf0d85a5e5b00 (diff) | |
download | mongo-22653fdefeea36317cbe2557b9cb039e64512ce6.tar.gz |
don't undef _WIN32 SERVER-1258
Diffstat (limited to 'pch.h')
-rw-r--r-- | pch.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |