blob: 3d218aa2644393a0bfbf9c8a7ac2f70c516a4cef [file] [log] [blame]
Brian Silverman44c68b12018-08-04 23:56:44 -07001/*
2Copyright Rene Rivera 2008-2015
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_ARCHITECTURE_Z_H
9#define BOOST_PREDEF_ARCHITECTURE_Z_H
10
11#include <boost/predef/version_number.h>
12#include <boost/predef/make.h>
13
14/*`
15[heading `BOOST_ARCH_Z`]
16
17[@http://en.wikipedia.org/wiki/Z/Architecture z/Architecture] architecture.
18
19[table
20 [[__predef_symbol__] [__predef_version__]]
21
22 [[`__SYSC_ZARCH__`] [__predef_detection__]]
23 ]
24 */
25
26#define BOOST_ARCH_Z BOOST_VERSION_NUMBER_NOT_AVAILABLE
27
28#if defined(__SYSC_ZARCH__)
29# undef BOOST_ARCH_Z
30# define BOOST_ARCH_Z BOOST_VERSION_NUMBER_AVAILABLE
31#endif
32
33#if BOOST_ARCH_Z
34# define BOOST_ARCH_Z_AVAILABLE
35#endif
36
37#define BOOST_ARCH_Z_NAME "z/Architecture"
38
39#endif
40
41#include <boost/predef/detail/test.h>
42BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_Z,BOOST_ARCH_Z_NAME)