Fix for threading support for Linux on arm.

[SVN r29964]
This commit is contained in:
John Maddock
2005-07-10 10:22:20 +00:00
parent e35d48bffb
commit 2f58fb6911

View File

@ -44,6 +44,12 @@
# define BOOST_DISABLE_THREADS # define BOOST_DISABLE_THREADS
#endif #endif
#if (defined(linux) || defined(__linux) || defined(__linux__)) && defined(__arm__) && defined(_GLIBCPP_HAVE_GTHR_DEFAULT)
// linux on arm apparently doesn't define _REENTRANT
// so just turn on threading support whenever the std lib is thread safe:
# define BOOST_HAS_THREADS
#endif
#if !defined(_GLIBCPP_USE_LONG_LONG) \ #if !defined(_GLIBCPP_USE_LONG_LONG) \
&& !defined(_GLIBCXX_USE_LONG_LONG)\ && !defined(_GLIBCXX_USE_LONG_LONG)\