]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/predef/include/boost/predef/os/qnxnto.h
2 Copyright Rene Rivera 2008-2015
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at
5 http://www.boost.org/LICENSE_1_0.txt)
8 #ifndef BOOST_PREDEF_OS_QNXNTO_H
9 #define BOOST_PREDEF_OS_QNXNTO_H
11 #include <boost/predef/version_number.h>
12 #include <boost/predef/make.h>
15 [heading `BOOST_OS_QNX`]
17 [@http://en.wikipedia.org/wiki/QNX QNX] operating system.
18 Version number available as major, and minor if possible. And
19 version 4 is specifically detected.
22 [[__predef_symbol__] [__predef_version__]]
24 [[`__QNX__`] [__predef_detection__]]
25 [[`__QNXNTO__`] [__predef_detection__]]
27 [[`_NTO_VERSION`] [V.R.0]]
32 #define BOOST_OS_QNX BOOST_VERSION_NUMBER_NOT_AVAILABLE
34 #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
35 defined(__QNX__) || defined(__QNXNTO__) \
38 # if !defined(BOOST_OS_QNX) && defined(_NTO_VERSION)
39 # define BOOST_OS_QNX BOOST_PREDEF_MAKE_10_VVRR(_NTO_VERSION)
41 # if !defined(BOOST_OS_QNX) && defined(__QNX__)
42 # define BOOST_OS_QNX BOOST_VERSION_NUMBER(4,0,0)
44 # if !defined(BOOST_OS_QNX)
45 # define BOOST_OS_QNX BOOST_VERSION_NUMBER_AVAILABLE
50 # define BOOST_OS_QNX_AVAILABLE
51 # include <boost/predef/detail/os_detected.h>
54 #define BOOST_OS_QNX_NAME "QNX"
58 #include <boost/predef/detail/test.h>
59 BOOST_PREDEF_DECLARE_TEST(BOOST_OS_QNX
,BOOST_OS_QNX_NAME
)