zos.hpp 789 B

123456789101112131415161718192021222324252627282930313233
  1. // Copyright (c) 2017 Dynatrace
  2. //
  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
  6. // See http://www.boost.org for most recent version.
  7. // Platform setup for IBM z/OS.
  8. #define BOOST_PLATFORM "IBM z/OS"
  9. #include <features.h> // For __UU, __C99, __TR1, ...
  10. #if defined(__UU)
  11. # define BOOST_HAS_GETTIMEOFDAY
  12. #endif
  13. #if defined(_OPEN_THREADS) || defined(__SUSV3_THR)
  14. # define BOOST_HAS_PTHREADS
  15. # define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
  16. # define BOOST_HAS_THREADS
  17. #endif
  18. #if defined(__SUSV3) || defined(__SUSV3_THR)
  19. # define BOOST_HAS_SCHED_YIELD
  20. #endif
  21. #define BOOST_HAS_SIGACTION
  22. #define BOOST_HAS_UNISTD_H
  23. #define BOOST_HAS_DIRENT_H
  24. #define BOOST_HAS_NL_TYPES_H