forked from boostorg/config
@@ -36,7 +36,8 @@
|
|||||||
// 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)) || defined(__OpenBSD__)
|
#if (defined(__FreeBSD__) && (__FreeBSD__ <= 3))\
|
||||||
|
|| defined(__OpenBSD__) || defined(__DragonFly__)
|
||||||
# define BOOST_HAS_PTHREADS
|
# define BOOST_HAS_PTHREADS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -55,13 +56,13 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !((defined(__FreeBSD__) && (__FreeBSD__ >= 5)) \
|
#if !((defined(__FreeBSD__) && (__FreeBSD__ >= 5)) \
|
||||||
|| (__NetBSD_GCC__ >= 2095003))
|
|| (__NetBSD_GCC__ >= 2095003) || defined(__DragonFly__))
|
||||||
# define BOOST_NO_CWCHAR
|
# define BOOST_NO_CWCHAR
|
||||||
#endif
|
#endif
|
||||||
//
|
//
|
||||||
// The BSD <ctype.h> has macros only, no functions:
|
// The BSD <ctype.h> has macros only, no functions:
|
||||||
//
|
//
|
||||||
#if !defined(__OpenBSD__)
|
#if !defined(__OpenBSD__) || defined(__DragonFly__)
|
||||||
# define BOOST_NO_CTYPE_FUNCTIONS
|
# define BOOST_NO_CTYPE_FUNCTIONS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -223,7 +223,8 @@
|
|||||||
// from here then add to the appropriate compiler section):
|
// from here then add to the appropriate compiler section):
|
||||||
//
|
//
|
||||||
#if (defined(__MT__) || defined(_MT) || defined(_REENTRANT) \
|
#if (defined(__MT__) || defined(_MT) || defined(_REENTRANT) \
|
||||||
|| defined(_PTHREADS)) && !defined(BOOST_HAS_THREADS)
|
|| defined(_PTHREADS) || defined(__APPLE__) || defined(__DragonFly__)) \
|
||||||
|
&& !defined(BOOST_HAS_THREADS)
|
||||||
# define BOOST_HAS_THREADS
|
# define BOOST_HAS_THREADS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user