FreeBSD 3.x has pthreads support, but _POSIX_THREADS isn't defined by

<unistd.h>


[SVN r12771]
This commit is contained in:
Douglas Gregor
2002-02-09 15:02:48 +00:00
parent 77c2b1f807
commit 43130a3d85

View File

@ -28,6 +28,14 @@
# define BOOST_HAS_NL_TYPES_H
#endif
//
// FreeBSD 3.x has pthreads support, but defines _POSIX_THREADS in <pthread.h>
// and not in <unistd.h>
//
#if defined(__FreeBSD__) && (__FreeBSD__ <= 3)
# define BOOST_HAS_PTHREADS
#endif
//
// No wide character support in the BSD header files:
//