forked from boostorg/config
Config: Update bits for OpenBSD
This commit is contained in:
@ -28,7 +28,8 @@
|
|||||||
// FreeBSD has <nl_types.h> but does not
|
// FreeBSD has <nl_types.h> but does not
|
||||||
// advertise the fact in <unistd.h>:
|
// advertise the fact in <unistd.h>:
|
||||||
//
|
//
|
||||||
#if (defined(__FreeBSD__) && (__FreeBSD__ >= 3)) || defined(__DragonFly__)
|
#if (defined(__FreeBSD__) && (__FreeBSD__ >= 3)) \
|
||||||
|
|| defined(__OpenBSD__) || defined(__DragonFly__)
|
||||||
# define BOOST_HAS_NL_TYPES_H
|
# define BOOST_HAS_NL_TYPES_H
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -56,7 +57,8 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !((defined(__FreeBSD__) && (__FreeBSD__ >= 5)) \
|
#if !((defined(__FreeBSD__) && (__FreeBSD__ >= 5)) \
|
||||||
|| (defined(__NetBSD_GCC__) && (__NetBSD_GCC__ >= 2095003)) || defined(__DragonFly__))
|
|| (defined(__NetBSD_GCC__) && (__NetBSD_GCC__ >= 2095003)) \
|
||||||
|
|| defined(__OpenBSD__) || defined(__DragonFly__))
|
||||||
# define BOOST_NO_CWCHAR
|
# define BOOST_NO_CWCHAR
|
||||||
#endif
|
#endif
|
||||||
//
|
//
|
||||||
@ -74,13 +76,8 @@
|
|||||||
#define BOOST_HAS_GETTIMEOFDAY
|
#define BOOST_HAS_GETTIMEOFDAY
|
||||||
#define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
|
#define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
|
||||||
#define BOOST_HAS_SIGACTION
|
#define BOOST_HAS_SIGACTION
|
||||||
|
#define BOOST_HAS_CLOCK_GETTIME
|
||||||
|
|
||||||
// boilerplate code:
|
// boilerplate code:
|
||||||
#define BOOST_HAS_UNISTD_H
|
#define BOOST_HAS_UNISTD_H
|
||||||
#include <boost/config/detail/posix_features.hpp>
|
#include <boost/config/detail/posix_features.hpp>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user