aboutsummaryrefslogtreecommitdiff
path: root/src/headers.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2012-03-18 23:14:03 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2012-04-03 20:22:41 +0200
commit52d3a48128b66e731afd54cec7cab0a687d303cf (patch)
treeade3bfd91c7e92ed83ea79219ed773fbc009ee0e /src/headers.h
parent703d64469eb2b607adcd864555b5fe1d981bf51f (diff)
downloadbitcoin-52d3a48128b66e731afd54cec7cab0a687d303cf.tar.xz
VC2010 compile fixes
Diffstat (limited to 'src/headers.h')
-rw-r--r--src/headers.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/headers.h b/src/headers.h
index 88f5476f8f..3596fd08da 100644
--- a/src/headers.h
+++ b/src/headers.h
@@ -18,7 +18,9 @@
#endif
#define _WIN32_IE 0x0400
#define WIN32_LEAN_AND_MEAN 1
-
+#ifndef NOMINMAX
+#define NOMINMAX
+#endif
// Include boost/foreach here as it defines __STDC_LIMIT_MACROS on some systems.
#include <boost/foreach.hpp>