Work around annoying boost-related compiler warning

This commit is contained in:
Jean-Marc Lasgouttes 2013-02-15 18:58:30 +01:00
parent 77986ff3fd
commit 1570604063
2 changed files with 6 additions and 1 deletions

View File

@ -39,8 +39,10 @@
// //
# define BOOST_HAS_THREADS # define BOOST_HAS_THREADS
# else # else
# ifndef BOOST_DISABLE_THREADS
# define BOOST_DISABLE_THREADS # define BOOST_DISABLE_THREADS
# endif # endif
# endif
#elif defined(__GLIBCPP__) \ #elif defined(__GLIBCPP__) \
&& !defined(_GLIBCPP_HAVE_GTHR_DEFAULT) \ && !defined(_GLIBCPP_HAVE_GTHR_DEFAULT) \
&& !defined(_GLIBCPP__PTHREADS) && !defined(_GLIBCPP__PTHREADS)

View File

@ -181,3 +181,6 @@ What's new
* BUILD/INSTALLATION * BUILD/INSTALLATION
- Fix building with system boost on FreeBSD. - Fix building with system boost on FreeBSD.
- Avoid annoying warnings with newer gcc versions.