diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-11 16:04:43 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-11 16:04:43 +0200 |
commit | dd58f28978f70eee7152c9a23368a3ed9be7d238 (patch) | |
tree | e7cb5c226e105baa866715378f89bc316b95e402 /cutl/details/boost/config/platform/hpux.hpp | |
parent | 16192beb8262828291b0edb8fca44b2c89a5498a (diff) |
Fix Boost not to redefine user-defined BOOST_DISABLE_THREADS
Diffstat (limited to 'cutl/details/boost/config/platform/hpux.hpp')
-rw-r--r-- | cutl/details/boost/config/platform/hpux.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cutl/details/boost/config/platform/hpux.hpp b/cutl/details/boost/config/platform/hpux.hpp index c35faff..84fdfa2 100644 --- a/cutl/details/boost/config/platform/hpux.hpp +++ b/cutl/details/boost/config/platform/hpux.hpp @@ -31,7 +31,9 @@ #if defined(__GNUC__) # if (__GNUC__ < 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ < 3)) // GNU C on HP-UX does not support threads (checked up to gcc 3.3) -# define BOOST_DISABLE_THREADS +# ifndef BOOST_DISABLE_THREADS +# define BOOST_DISABLE_THREADS +# endif # elif !defined(BOOST_DISABLE_THREADS) // threads supported from gcc-3.3 onwards: # define BOOST_HAS_THREADS |