summaryrefslogtreecommitdiff
path: root/boost/boost.windows.patch
blob: befc805d5753099a10a837b7bf258e8a1c91e750 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- misc/build/boost_1_44_0/boost/pool/detail/mutex.hpp
+++ misc/build/boost_1_44_0/boost/pool/detail/mutex.hpp
@@ -45,7 +45,9 @@
 
 #ifndef BOOST_NO_MT
 # ifdef BOOST_WINDOWS
+#  define NOMINMAX
 #  include <windows.h>
+#  undef NOMINMAX
 # endif
 # if defined(_POSIX_THREADS) || defined(BOOST_HAS_PTHREADS)
 #  include <pthread.h>