turn threading detail macros off if we don't (want to) use threading

[SVN r19046]
This commit is contained in:
Jens Maurer
2003-07-11 12:51:44 +00:00
parent 23f572d0b6
commit 8c7b359fa2

View File

@@ -207,6 +207,17 @@
# undef BOOST_HAS_THREADS # undef BOOST_HAS_THREADS
#endif #endif
//
// Turn threading detail macros off if we don't (want to) use threading
//
#ifndef BOOST_HAS_THREADS
# undef BOOST_HAS_PTHREADS
# undef BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
# undef BOOST_HAS_WINTHREADS
# undef BOOST_HAS_BETHREADS
# undef BOOST_HAS_MPTASKS
#endif
// //
// If the compiler claims to be C99 conformant, then it had better // If the compiler claims to be C99 conformant, then it had better
// have a <stdint.h>: // have a <stdint.h>: