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_ARCHITECTURE_SYS390_H
9#define BOOST_PREDEF_ARCHITECTURE_SYS390_H
10
11#include <boost/predef/version_number.h>
12#include <boost/predef/make.h>
13
14/*`
15[heading `BOOST_ARCH_SYS390`]
16
17[@http://en.wikipedia.org/wiki/System/390 System/390] architecture.
18
19[table
20 [[__predef_symbol__] [__predef_version__]]
21
22 [[`__s390__`] [__predef_detection__]]
23 [[`__s390x__`] [__predef_detection__]]
24 ]
25 */
26
27#define BOOST_ARCH_SYS390 BOOST_VERSION_NUMBER_NOT_AVAILABLE
28
29#if defined(__s390__) || defined(__s390x__)
30# undef BOOST_ARCH_SYS390
31# define BOOST_ARCH_SYS390 BOOST_VERSION_NUMBER_AVAILABLE
32#endif
33
34#if BOOST_ARCH_SYS390
35# define BOOST_ARCH_SYS390_AVAILABLE
36#endif
37
38#define BOOST_ARCH_SYS390_NAME "System/390"
39
40#include <boost/predef/detail/test.h>
41BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_SYS390,BOOST_ARCH_SYS390_NAME)
42
43
44#endif
45