forked from boostorg/config
Enabled pthread support for OpenBSD
[SVN r16927]
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
// FreeBSD 3.x has pthreads support, but defines _POSIX_THREADS in <pthread.h>
|
// FreeBSD 3.x has pthreads support, but defines _POSIX_THREADS in <pthread.h>
|
||||||
// and not in <unistd.h>
|
// and not in <unistd.h>
|
||||||
//
|
//
|
||||||
#if defined(__FreeBSD__) && (__FreeBSD__ <= 3)
|
#if (defined(__FreeBSD__) && (__FreeBSD__ <= 3)) || defined(__OpenBSD__)
|
||||||
# define BOOST_HAS_PTHREADS
|
# define BOOST_HAS_PTHREADS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -59,3 +59,4 @@
|
|||||||
#include <boost/config/posix_features.hpp>
|
#include <boost/config/posix_features.hpp>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user