File indexing completed on 2025-01-18 09:48:06
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_PREDEF_OS_QNXNTO_H
0009 #define BOOST_PREDEF_OS_QNXNTO_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
0031
0032
0033 #define BOOST_OS_QNX BOOST_VERSION_NUMBER_NOT_AVAILABLE
0034
0035 #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
0036 defined(__QNX__) || defined(__QNXNTO__) \
0037 )
0038 # undef BOOST_OS_QNX
0039 # if !defined(BOOST_OS_QNX) && defined(_NTO_VERSION)
0040 # define BOOST_OS_QNX BOOST_PREDEF_MAKE_10_VVRR(_NTO_VERSION)
0041 # endif
0042 # if !defined(BOOST_OS_QNX) && defined(__QNX__)
0043 # define BOOST_OS_QNX BOOST_VERSION_NUMBER(4,0,0)
0044 # endif
0045 # if !defined(BOOST_OS_QNX)
0046 # define BOOST_OS_QNX BOOST_VERSION_NUMBER_AVAILABLE
0047 # endif
0048 #endif
0049
0050 #if BOOST_OS_QNX
0051 # define BOOST_OS_QNX_AVAILABLE
0052 # include <boost/predef/detail/os_detected.h>
0053 #endif
0054
0055 #define BOOST_OS_QNX_NAME "QNX"
0056
0057 #endif
0058
0059 #include <boost/predef/detail/test.h>
0060 BOOST_PREDEF_DECLARE_TEST(BOOST_OS_QNX,BOOST_OS_QNX_NAME)