Enable pthread support on OpenBSD

[SVN r32960]
This commit is contained in:
John Maddock
2006-02-16 11:05:44 +00:00
parent 8dd274ccf9
commit bfbb0a6665

View File

@ -36,7 +36,7 @@
// FreeBSD 3.x has pthreads support, but defines _POSIX_THREADS in <pthread.h>
// and not in <unistd.h>
//
#if defined(__FreeBSD__) && (__FreeBSD__ <= 3)
#if (defined(__FreeBSD__) && (__FreeBSD__ <= 3)) || defined(__OpenBSD__)
# define BOOST_HAS_PTHREADS
#endif