1 | --- boost/config/platform/bsd.hpp.orig 2008-08-21 02:04:16.000000000 -0600
|
---|
2 | +++ boost/config/platform/bsd.hpp 2008-08-21 07:03:40.000000000 -0600
|
---|
3 | @@ -36,7 +36,8 @@
|
---|
4 | // FreeBSD 3.x has pthreads support, but defines _POSIX_THREADS in <pthread.h>
|
---|
5 | // and not in <unistd.h>
|
---|
6 | //
|
---|
7 | -#if (defined(__FreeBSD__) && (__FreeBSD__ <= 3)) || defined(__OpenBSD__)
|
---|
8 | +#if (defined(__FreeBSD__) && (__FreeBSD__ <= 3)) || defined(__OpenBSD__) \
|
---|
9 | + || defined(__DragonFly__)
|
---|
10 | # define BOOST_HAS_PTHREADS
|
---|
11 | #endif
|
---|
12 |
|
---|
13 | @@ -55,13 +56,13 @@
|
---|
14 | #endif
|
---|
15 |
|
---|
16 | #if !((defined(__FreeBSD__) && (__FreeBSD__ >= 5)) \
|
---|
17 | - || (__NetBSD_GCC__ >= 2095003))
|
---|
18 | + || (__NetBSD_GCC__ >= 2095003) || defined(__DragonFly__))
|
---|
19 | # define BOOST_NO_CWCHAR
|
---|
20 | #endif
|
---|
21 | //
|
---|
22 | // The BSD <ctype.h> has macros only, no functions:
|
---|
23 | //
|
---|
24 | -#if !defined(__OpenBSD__)
|
---|
25 | +#if !defined(__OpenBSD__) && !defined(__DragonFly__)
|
---|
26 | # define BOOST_NO_CTYPE_FUNCTIONS
|
---|
27 | #endif
|
---|
28 |
|
---|