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