Mercurial > hg > orthanc
comparison Resources/Patches/boost-1.67.0-linux-standard-base.patch @ 2781:13038d638097
primitives for android ndk
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 20 Jul 2018 11:01:33 +0200 |
parents | ee9a6cd63891 |
children | fae500411605 |
comparison
equal
deleted
inserted
replaced
2780:d4e81e0a8324 | 2781:13038d638097 |
---|---|
15 +++ boost_1_67_0/boost/thread/detail/config.hpp 2018-06-20 18:01:08.695070530 +0200 | 15 +++ boost_1_67_0/boost/thread/detail/config.hpp 2018-06-20 18:01:08.695070530 +0200 |
16 @@ -417,6 +417,8 @@ | 16 @@ -417,6 +417,8 @@ |
17 #define BOOST_THREAD_INTERNAL_CLOCK_IS_MONO | 17 #define BOOST_THREAD_INTERNAL_CLOCK_IS_MONO |
18 #elif defined(BOOST_THREAD_CHRONO_MAC_API) | 18 #elif defined(BOOST_THREAD_CHRONO_MAC_API) |
19 #define BOOST_THREAD_HAS_MONO_CLOCK | 19 #define BOOST_THREAD_HAS_MONO_CLOCK |
20 +#elif defined(__LSB_VERSION__) | 20 +#elif defined(__LSB_VERSION__) || defined(__ANDROID__) |
21 + #define BOOST_THREAD_HAS_MONO_CLOCK | 21 + #define BOOST_THREAD_HAS_MONO_CLOCK |
22 #else | 22 #else |
23 #include <time.h> // check for CLOCK_MONOTONIC | 23 #include <time.h> // check for CLOCK_MONOTONIC |
24 #if defined(CLOCK_MONOTONIC) | 24 #if defined(CLOCK_MONOTONIC) |