aix.hpp 888 B

12345678910111213141516171819202122232425262728293031323334
  1. // (C) Copyright John Maddock 2001 - 2002.
  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. // IBM/Aix specific config options:
  7. #define BOOST_PLATFORM "IBM Aix"
  8. #define BOOST_HAS_UNISTD_H
  9. #define BOOST_HAS_NL_TYPES_H
  10. #define BOOST_HAS_NANOSLEEP
  11. #define BOOST_HAS_CLOCK_GETTIME
  12. // This needs support in "boost/cstdint.hpp" exactly like FreeBSD.
  13. // This platform has header named <inttypes.h> which includes all
  14. // the things needed.
  15. #define BOOST_HAS_STDINT_H
  16. // Threading API's:
  17. #define BOOST_HAS_PTHREADS
  18. #define BOOST_HAS_PTHREAD_DELAY_NP
  19. #define BOOST_HAS_SCHED_YIELD
  20. //#define BOOST_HAS_PTHREAD_YIELD
  21. // boilerplate code:
  22. #include <boost/config/detail/posix_features.hpp>