Chris@16
|
1 /*
|
Chris@101
|
2 Copyright Rene Rivera 2008-2013
|
Chris@16
|
3 Distributed under the Boost Software License, Version 1.0.
|
Chris@16
|
4 (See accompanying file LICENSE_1_0.txt or copy at
|
Chris@16
|
5 http://www.boost.org/LICENSE_1_0.txt)
|
Chris@16
|
6 */
|
Chris@16
|
7
|
Chris@16
|
8 #ifndef BOOST_PREDEF_LIBRARY_C_ZOS_H
|
Chris@16
|
9 #define BOOST_PREDEF_LIBRARY_C_ZOS_H
|
Chris@16
|
10
|
Chris@16
|
11 #include <boost/predef/library/c/_prefix.h>
|
Chris@16
|
12
|
Chris@16
|
13 #include <boost/predef/version_number.h>
|
Chris@16
|
14 #include <boost/predef/make.h>
|
Chris@16
|
15
|
Chris@16
|
16 /*`
|
Chris@16
|
17 [heading `BOOST_LIB_C_ZOS`]
|
Chris@16
|
18
|
Chris@16
|
19 z/OS libc Standard C library.
|
Chris@16
|
20 Version number available as major, minor, and patch.
|
Chris@16
|
21
|
Chris@16
|
22 [table
|
Chris@16
|
23 [[__predef_symbol__] [__predef_version__]]
|
Chris@16
|
24
|
Chris@16
|
25 [[`__LIBREL__`] [__predef_detection__]]
|
Chris@16
|
26
|
Chris@16
|
27 [[`__LIBREL__`] [V.R.P]]
|
Chris@16
|
28 [[`__TARGET_LIB__`] [V.R.P]]
|
Chris@16
|
29 ]
|
Chris@16
|
30 */
|
Chris@16
|
31
|
Chris@16
|
32 #define BOOST_LIB_C_ZOS BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
Chris@16
|
33
|
Chris@16
|
34 #if defined(__LIBREL__)
|
Chris@16
|
35 # undef BOOST_LIB_C_ZOS
|
Chris@16
|
36 # if !defined(BOOST_LIB_C_ZOS) && defined(__LIBREL__)
|
Chris@16
|
37 # define BOOST_LIB_C_ZOS BOOST_PREDEF_MAKE_0X_VRRPPPP(__LIBREL__)
|
Chris@16
|
38 # endif
|
Chris@16
|
39 # if !defined(BOOST_LIB_C_ZOS) && defined(__TARGET_LIB__)
|
Chris@16
|
40 # define BOOST_LIB_C_ZOS BOOST_PREDEF_MAKE_0X_VRRPPPP(__TARGET_LIB__)
|
Chris@16
|
41 # endif
|
Chris@16
|
42 # if !defined(BOOST_LIB_C_ZOS)
|
Chris@16
|
43 # define BOOST_LIB_C_ZOS BOOST_VERSION_NUMBER_AVAILABLE
|
Chris@16
|
44 # endif
|
Chris@16
|
45 #endif
|
Chris@16
|
46
|
Chris@16
|
47 #if BOOST_LIB_C_ZOS
|
Chris@16
|
48 # define BOOST_LIB_C_ZOS_AVAILABLE
|
Chris@16
|
49 #endif
|
Chris@16
|
50
|
Chris@16
|
51 #define BOOST_LIB_C_ZOS_NAME "z/OS"
|
Chris@16
|
52
|
Chris@16
|
53 #include <boost/predef/detail/test.h>
|
Chris@16
|
54 BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_C_ZOS,BOOST_LIB_C_ZOS_NAME)
|
Chris@16
|
55
|
Chris@16
|
56
|
Chris@16
|
57 #endif
|