File indexing completed on 2025-01-18 09:48:06
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_PREDEF_OS_UNIX_H
0009 #define BOOST_PREDEF_OS_UNIX_H
0010
0011 #include <boost/predef/version_number.h>
0012 #include <boost/predef/make.h>
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030 #define BOOST_OS_UNIX BOOST_VERSION_NUMBER_NOT_AVAILABLE
0031
0032 #if defined(unix) || defined(__unix) || \
0033 defined(_XOPEN_SOURCE) || defined(_POSIX_SOURCE)
0034 # undef BOOST_OS_UNIX
0035 # define BOOST_OS_UNIX BOOST_VERSION_NUMBER_AVAILABLE
0036 #endif
0037
0038 #if BOOST_OS_UNIX
0039 # define BOOST_OS_UNIX_AVAILABLE
0040 #endif
0041
0042 #define BOOST_OS_UNIX_NAME "Unix Environment"
0043
0044
0045
0046
0047
0048
0049
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060 #define BOOST_OS_SVR4 BOOST_VERSION_NUMBER_NOT_AVAILABLE
0061
0062 #if defined(__sysv__) || defined(__SVR4) || \
0063 defined(__svr4__) || defined(_SYSTYPE_SVR4)
0064 # undef BOOST_OS_SVR4
0065 # define BOOST_OS_SVR4 BOOST_VERSION_NUMBER_AVAILABLE
0066 #endif
0067
0068 #if BOOST_OS_SVR4
0069 # define BOOST_OS_SVR4_AVAILABLE
0070 #endif
0071
0072 #define BOOST_OS_SVR4_NAME "SVR4 Environment"
0073
0074 #endif
0075
0076 #include <boost/predef/detail/test.h>
0077 BOOST_PREDEF_DECLARE_TEST(BOOST_OS_UNIX,BOOST_OS_UNIX_NAME)
0078 BOOST_PREDEF_DECLARE_TEST(BOOST_OS_SVR4,BOOST_OS_SVR4_NAME)