diff options
author | Tor Lillqvist <tlillqvist@novell.com> | 2011-07-15 15:16:30 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@novell.com> | 2011-07-15 15:16:59 +0300 |
commit | 7862353ab6a63182dec29993a2a582b3d2cb7b08 (patch) | |
tree | 6257dc81732f79ecc6887b6c50f881915fdf175d /boost/boost.windows.patch | |
parent | We want cairo-quartz.h for iOS, not the X ones (diff) | |
download | core-7862353ab6a63182dec29993a2a582b3d2cb7b08.tar.gz core-7862353ab6a63182dec29993a2a582b3d2cb7b08.zip |
Don't let <windows.h> define min() and max() as macros
Diffstat (limited to 'boost/boost.windows.patch')
-rw-r--r-- | boost/boost.windows.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/boost/boost.windows.patch b/boost/boost.windows.patch new file mode 100644 index 000000000000..c0054c8de244 --- /dev/null +++ b/boost/boost.windows.patch @@ -0,0 +1,12 @@ +--- misc/build/boost_1_44_0/boost/pool/detail/mutex.hpp ++++ misc/build/boost_1_44_0/boost/pool/detail/mutex.hpp +@@ -46,7 +46,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> |