1/*
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_SYS370_H
9#define BOOST_PREDEF_ARCHITECTURE_SYS370_H
10
11#include <boost/predef/version_number.h>
12#include <boost/predef/make.h>
13
14/* tag::reference[]
15= `BOOST_ARCH_SYS370`
16
17http://en.wikipedia.org/wiki/System/370[System/370] architecture.
18
19[options="header"]
20|===
21| {predef_symbol} | {predef_version}
22
23| `+__370__+` | {predef_detection}
24| `+__THW_370__+` | {predef_detection}
25|===
26*/ // end::reference[]
27
28#define BOOST_ARCH_SYS370 BOOST_VERSION_NUMBER_NOT_AVAILABLE
29
30#if defined(__370__) || defined(__THW_370__)
31# undef BOOST_ARCH_SYS370
32# define BOOST_ARCH_SYS370 BOOST_VERSION_NUMBER_AVAILABLE
33#endif
34
35#if BOOST_ARCH_SYS370
36# define BOOST_ARCH_SYS370_AVAILABLE
37#endif
38
39#define BOOST_ARCH_SYS370_NAME "System/370"
40
41#endif
42
43#include <boost/predef/detail/test.h>
44BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_SYS370,BOOST_ARCH_SYS370_NAME)
45

source code of include/boost/predef/architecture/sys370.h