From e457f90dfa8101127d9b342fd5bac94ed253cb74 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sat, 18 Jan 2003 11:30:51 +0000 Subject: [PATCH] Enabled pthread support for OpenBSD [SVN r16927] --- include/boost/config/platform/bsd.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/config/platform/bsd.hpp b/include/boost/config/platform/bsd.hpp index 0af5364f..3f7c3227 100644 --- a/include/boost/config/platform/bsd.hpp +++ b/include/boost/config/platform/bsd.hpp @@ -32,7 +32,7 @@ // FreeBSD 3.x has pthreads support, but defines _POSIX_THREADS in // and not in // -#if defined(__FreeBSD__) && (__FreeBSD__ <= 3) +#if (defined(__FreeBSD__) && (__FreeBSD__ <= 3)) || defined(__OpenBSD__) # define BOOST_HAS_PTHREADS #endif @@ -59,3 +59,4 @@ #include +