office-gobmx/boost/boost.windows.patch

13 lines
333 B
Diff
Raw Normal View History

--- misc/build/boost_1_44_0/boost/pool/detail/mutex.hpp
+++ misc/build/boost_1_44_0/boost/pool/detail/mutex.hpp
2011-07-25 17:54:55 -05:00
@@ -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>