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