diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-07-01 10:29:31 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-07-01 10:29:31 -0400 |
commit | 51ad1d3292843f0dbc71fde2c4e4a171a9643a87 (patch) | |
tree | 62d720eebf43b0df33494f6f38f5835fd1505c07 /pch.h | |
parent | fd8d8670a694fd4f9dabffd7cec812a6c1155474 (diff) | |
download | mongo-51ad1d3292843f0dbc71fde2c4e4a171a9643a87.tar.gz |
fix NOMINMAX handling
Diffstat (limited to 'pch.h')
-rw-r--r-- | pch.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -37,7 +37,9 @@ #endif #if defined(_WIN32) -# define NOMINMAX +# ifndef NOMINMAX +# define NOMINMAX +# endif # include <winsock2.h> //this must be included before the first windows.h include # include <ws2tcpip.h> # include <wspiapi.h> |