comparison Resources/Patches/boost-1.67.0-linux-standard-base.patch @ 2679:ee9a6cd63891

boost 1.67.0
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 20 Jun 2018 18:02:36 +0200
parents
children 13038d638097
comparison
equal deleted inserted replaced
2661:62cc762d1fb0 2679:ee9a6cd63891
1 diff -urEb boost_1_67_0.orig/boost/move/adl_move_swap.hpp boost_1_67_0/boost/move/adl_move_swap.hpp
2 --- boost_1_67_0.orig/boost/move/adl_move_swap.hpp 2018-06-20 18:00:42.559109755 +0200
3 +++ boost_1_67_0/boost/move/adl_move_swap.hpp 2018-06-20 17:49:35.176072431 +0200
4 @@ -28,6 +28,8 @@
5 //Try to avoid including <algorithm>, as it's quite big
6 #if defined(_MSC_VER) && defined(BOOST_DINKUMWARE_STDLIB)
7 #include <utility> //Dinkum libraries define std::swap in utility which is lighter than algorithm
8 +#elif defined(__LSB_VERSION__)
9 +# include <utility>
10 #elif defined(BOOST_GNU_STDLIB)
11 //For non-GCC compilers, where GNUC version is not very reliable, or old GCC versions
12 //use the good old stl_algobase header, which is quite lightweight
13 diff -urEb boost_1_67_0.orig/boost/thread/detail/config.hpp boost_1_67_0/boost/thread/detail/config.hpp
14 --- boost_1_67_0.orig/boost/thread/detail/config.hpp 2018-06-20 18:00:42.555109761 +0200
15 +++ boost_1_67_0/boost/thread/detail/config.hpp 2018-06-20 18:01:08.695070530 +0200
16 @@ -417,6 +417,8 @@
17 #define BOOST_THREAD_INTERNAL_CLOCK_IS_MONO
18 #elif defined(BOOST_THREAD_CHRONO_MAC_API)
19 #define BOOST_THREAD_HAS_MONO_CLOCK
20 +#elif defined(__LSB_VERSION__)
21 + #define BOOST_THREAD_HAS_MONO_CLOCK
22 #else
23 #include <time.h> // check for CLOCK_MONOTONIC
24 #if defined(CLOCK_MONOTONIC)