Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2006-02-14 05:21:44


> -bash-3.00# i386-unknown-openbsd3.8-eg++
> -I/usr/local/include/boost-1_33_1 tryme
> .c
> tryme.c:14:2: #error err4
> tryme.c:18:2: #error err5
> tryme.c:21:2: #error err6

That's what I would have expected to see *without* the patched bsd.hpp I
sent you, so the question is, why isn't:

#if (defined(__FreeBSD__) && (__FreeBSD__ <= 3)) || defined(__OpenBSD__)
# define BOOST_HAS_PTHREADS
#endif

In the modified bsd.hpp getting triggered and defining BOOST_HAS_PTHREADS ?
__OpenBSD__ is the correct define to check for OpenBSD isn't it?

Or was the patch not correctly applied maybe?

John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net