forked from boostorg/predef
git-svn-id: http://svn.boost.org/svn/boost/sandbox/predef@75548 b8fc166d-592f-0410-95f2-cb63ce0dd405
35 lines
926 B
C
35 lines
926 B
C
/*
|
|
Copyright Redshift Software, Inc. 2008-2011
|
|
Distributed under the Boost Software License, Version 1.0.
|
|
(See accompanying file LICENSE_1_0.txt or copy at
|
|
http://www.boost.org/LICENSE_1_0.txt)
|
|
*/
|
|
|
|
#ifndef BOOST_PREDEF_ARCHITECTURE_RS6K_H
|
|
#define BOOST_PREDEF_ARCHITECTURE_RS6K_H
|
|
|
|
#include <boost/predef/version_number.h>
|
|
#include <boost/predef/make.h>
|
|
|
|
/*`
|
|
[heading `BOOST_ARCHITECTURE_RS6000`]
|
|
|
|
[@http://en.wikipedia.org/wiki/RS/6000 RS/6000] architecture.
|
|
*/
|
|
|
|
#define BOOST_ARCHITECTURE_RS6000 BOOST_VERSION_NUMBER(0,0,0)
|
|
|
|
#if defined(__THW_RS6000) || defined(_IBMR2) || \
|
|
defined(_POWER) || defined(_ARCH_PWR) || \
|
|
defined(_ARCH_PWR2)
|
|
#undef BOOST_ARCHITECTURE_RS6000
|
|
#define BOOST_ARCHITECTURE_RS6000 BOOST_VERSION_NUMBER(0,0,1)
|
|
#endif
|
|
|
|
#define BOOST_ARCHITECTURE_PWR BOOST_ARCHITECTURE_RS6000
|
|
|
|
#include <boost/predef/detail/test.h>
|
|
BOOST_PREDEF_DECLARE_TEST(BOOST_ARCHITECTURE_RS6000,"RS/6000")
|
|
|
|
#endif
|