qnxnto.hpp 773 B

12345678910111213141516171819202122232425262728293031
  1. // (C) Copyright Jim Douglas 2005.
  2. // Use, modification and distribution are subject to the
  3. // Boost Software License, Version 1.0. (See accompanying file
  4. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. // See http://www.boost.org for most recent version.
  6. // QNX specific config options:
  7. #define BOOST_PLATFORM "QNX"
  8. #define BOOST_HAS_UNISTD_H
  9. #include <boost/config/detail/posix_features.hpp>
  10. // QNX claims XOpen version 5 compatibility, but doesn't have an nl_types.h
  11. // or log1p and expm1:
  12. #undef BOOST_HAS_NL_TYPES_H
  13. #undef BOOST_HAS_LOG1P
  14. #undef BOOST_HAS_EXPM1
  15. #define BOOST_HAS_PTHREADS
  16. #define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
  17. #define BOOST_HAS_GETTIMEOFDAY
  18. #define BOOST_HAS_CLOCK_GETTIME
  19. #define BOOST_HAS_NANOSLEEP