File indexing completed on 2025-01-18 09:30:07
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__)
0013 #error "This platform is not BSD"
0014 #endif
0015
0016 #ifdef __FreeBSD__
0017 #define BOOST_PLATFORM "FreeBSD " BOOST_STRINGIZE(__FreeBSD__)
0018 #elif defined(__NetBSD__)
0019 #define BOOST_PLATFORM "NetBSD " BOOST_STRINGIZE(__NetBSD__)
0020 #elif defined(__OpenBSD__)
0021 #define BOOST_PLATFORM "OpenBSD " BOOST_STRINGIZE(__OpenBSD__)
0022 #elif defined(__DragonFly__)
0023 #define BOOST_PLATFORM "DragonFly " BOOST_STRINGIZE(__DragonFly__)
0024 #endif
0025
0026
0027
0028
0029
0030
0031 #if (defined(__FreeBSD__) && (__FreeBSD__ >= 3)) \
0032 || defined(__OpenBSD__) || defined(__DragonFly__)
0033 # define BOOST_HAS_NL_TYPES_H
0034 #endif
0035
0036
0037
0038
0039
0040 #if (defined(__FreeBSD__) && (__FreeBSD__ <= 3))\
0041 || defined(__OpenBSD__) || defined(__DragonFly__)
0042 # define BOOST_HAS_PTHREADS
0043 #endif
0044
0045
0046
0047
0048 #if defined(__NetBSD__)
0049 #define __NetBSD_GCC__ (__GNUC__ * 1000000 \
0050 + __GNUC_MINOR__ * 1000 \
0051 + __GNUC_PATCHLEVEL__)
0052
0053
0054
0055
0056 #define _GLIBCXX_HAVE_SWPRINTF 1
0057 #endif
0058
0059 #if !((defined(__FreeBSD__) && (__FreeBSD__ >= 5)) \
0060 || (defined(__NetBSD_GCC__) && (__NetBSD_GCC__ >= 2095003)) \
0061 || defined(__OpenBSD__) || defined(__DragonFly__))
0062 # define BOOST_NO_CWCHAR
0063 #endif
0064
0065
0066
0067 #if !defined(__OpenBSD__) || defined(__DragonFly__)
0068 # define BOOST_NO_CTYPE_FUNCTIONS
0069 #endif
0070
0071
0072
0073
0074 #define BOOST_HAS_SCHED_YIELD
0075 #define BOOST_HAS_NANOSLEEP
0076 #define BOOST_HAS_GETTIMEOFDAY
0077 #define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
0078 #define BOOST_HAS_SIGACTION
0079 #define BOOST_HAS_CLOCK_GETTIME
0080
0081
0082 #define BOOST_HAS_UNISTD_H
0083 #include <boost/config/detail/posix_features.hpp>