Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:48:06

0001 /*
0002 Copyright Rene Rivera 2008-2015
0003 Distributed under the Boost Software License, Version 1.0.
0004 (See accompanying file LICENSE_1_0.txt or copy at
0005 http://www.boost.org/LICENSE_1_0.txt)
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 /* tag::reference[]
0015 = `BOOST_OS_QNX`
0016 
0017 http://en.wikipedia.org/wiki/QNX[QNX] operating system.
0018 Version number available as major, and minor if possible. And
0019 version 4 is specifically detected.
0020 
0021 [options="header"]
0022 |===
0023 | {predef_symbol} | {predef_version}
0024 
0025 | `+__QNX__+` | {predef_detection}
0026 | `+__QNXNTO__+` | {predef_detection}
0027 
0028 | `+_NTO_VERSION+` | V.R.0
0029 | `+__QNX__+` | 4.0.0
0030 |===
0031 */ // end::reference[]
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)