forked from boostorg/config
Added QNX platform support.
[SVN r31553]
This commit is contained in:
28
include/boost/config/platform/qnxnto.hpp
Normal file
28
include/boost/config/platform/qnxnto.hpp
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
// (C) Copyright Jim Douglas 2005.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org for most recent version.
|
||||||
|
|
||||||
|
// QNX specific config options:
|
||||||
|
|
||||||
|
#define BOOST_PLATFORM "QNX"
|
||||||
|
|
||||||
|
#define BOOST_HAS_UNISTD_H
|
||||||
|
#include <boost/config/posix_features.hpp>
|
||||||
|
|
||||||
|
// QNX claims XOpen version 5 compatibility, but doesn't have an nl_types.h:
|
||||||
|
#undef BOOST_HAS_NL_TYPES_H
|
||||||
|
|
||||||
|
#define BOOST_HAS_PTHREADS
|
||||||
|
#define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
|
||||||
|
|
||||||
|
#define BOOST_HAS_GETTIMEOFDAY
|
||||||
|
#define BOOST_HAS_CLOCK_GETTIME
|
||||||
|
#define BOOST_HAS_NANOSLEEP
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -57,6 +57,10 @@
|
|||||||
// AmigaOS
|
// AmigaOS
|
||||||
# define BOOST_PLATFORM_CONFIG "boost/config/platform/amigaos.hpp"
|
# define BOOST_PLATFORM_CONFIG "boost/config/platform/amigaos.hpp"
|
||||||
|
|
||||||
|
#elif defined(__QNXNTO__)
|
||||||
|
// QNX:
|
||||||
|
# define BOOST_PLATFORM_CONFIG "boost/config/platform/qnxnto.hpp"
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
# if defined(unix) \
|
# if defined(unix) \
|
||||||
|
Reference in New Issue
Block a user