]> git.lyx.org Git - features.git/commitdiff
Work around annoying boost-related compiler warning
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 15 Feb 2013 17:58:30 +0000 (18:58 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 28 Feb 2013 14:41:56 +0000 (15:41 +0100)
boost/boost/config/stdlib/libstdcpp3.hpp
status.20x

index 815d605cc37ffe00ca0e8c8d0d643988f4c1dead..262ada00d4d9d255c2e2f397fbe10549a6a62967 100644 (file)
@@ -39,7 +39,9 @@
       //
 #     define BOOST_HAS_THREADS
 #  else
-#     define BOOST_DISABLE_THREADS
+#    ifndef BOOST_DISABLE_THREADS
+#      define BOOST_DISABLE_THREADS
+#    endif
 #  endif
 #elif defined(__GLIBCPP__) \
         && !defined(_GLIBCPP_HAVE_GTHR_DEFAULT) \
index 6a7489c8bd70f2121498a986cd12469a43b57966..6a2bd00bc9d341a0de2c59d4b26a73c00081ec0c 100644 (file)
@@ -181,3 +181,6 @@ What's new
 * BUILD/INSTALLATION
 
 - Fix building with system boost on FreeBSD.
+
+- Avoid annoying warnings with newer gcc versions.
+