office-gobmx/external/boost/boost.windows.patch
Khaled Hosny 174e24ffff fdo#70393: move boost to a subdir of external
Change-Id: Ib6aa36e296dfc1237463c4257f7ea1bd1fe72a1b
Reviewed-on: https://gerrit.libreoffice.org/6282
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-10-17 10:39:39 +00:00

12 lines
333 B
Diff

--- 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>