2010-05-22 20:20:04 +00:00
|
|
|
/*
|
2012-07-15 03:37:23 +00:00
|
|
|
Copyright Redshift Software, Inc. 2008-2012
|
2010-05-22 20:20:04 +00:00
|
|
|
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)
|
|
|
|
|
*/
|
2008-04-04 18:47:29 +00:00
|
|
|
|
2010-02-25 16:59:10 +00:00
|
|
|
#ifndef BOOST_PREDEF_ARCHITECTURE_PARISC_H
|
|
|
|
|
#define BOOST_PREDEF_ARCHITECTURE_PARISC_H
|
2008-04-04 18:47:29 +00:00
|
|
|
|
2010-02-25 16:59:10 +00:00
|
|
|
#include <boost/predef/version_number.h>
|
2011-11-19 03:46:41 +00:00
|
|
|
#include <boost/predef/make.h>
|
|
|
|
|
|
|
|
|
|
/*`
|
2012-07-15 03:37:23 +00:00
|
|
|
[heading `BOOST_ARCH_PARISK`]
|
2011-11-19 03:46:41 +00:00
|
|
|
|
|
|
|
|
[@http://en.wikipedia.org/wiki/PA-RISC_family HP/PA RISC] architecture.
|
2012-07-15 03:37:23 +00:00
|
|
|
|
|
|
|
|
[table
|
|
|
|
|
[[__predef_symbol__] [__predef_version__]]
|
|
|
|
|
|
2013-01-05 15:31:59 -06:00
|
|
|
[[`____`] [__predef_detection__]]
|
2012-07-15 03:37:23 +00:00
|
|
|
|
2013-01-05 15:31:59 -06:00
|
|
|
[[`____`] [V.R.P]]
|
2012-07-15 03:37:23 +00:00
|
|
|
]
|
2011-11-19 03:46:41 +00:00
|
|
|
*/
|
2008-04-04 18:47:29 +00:00
|
|
|
|
2012-07-15 03:37:23 +00:00
|
|
|
#define BOOST_ARCH_PARISC BOOST_VERSION_NUMBER(0,0,0)
|
2008-04-04 18:47:29 +00:00
|
|
|
|
2011-11-19 03:46:41 +00:00
|
|
|
#if defined(__hppa__) || defined(__hppa) || defined(__HPPA__)
|
2012-07-15 03:37:23 +00:00
|
|
|
# undef BOOST_ARCH_PARISC
|
|
|
|
|
# if defined(_PA_RISC1_0)
|
|
|
|
|
# define BOOST_ARCH_PARISC BOOST_VERSION_NUMBER(1,0,0)
|
|
|
|
|
# elif defined(_PA_RISC1_1) || defined(__HPPA11__) || defined(__PA7100__)
|
|
|
|
|
# define BOOST_ARCH_PARISC BOOST_VERSION_NUMBER(1,1,0)
|
|
|
|
|
# elif defined(_PA_RISC2_0) || defined(__RISC2_0__) || defined(__HPPA20__) || defined(__PA8000__)
|
|
|
|
|
# define BOOST_ARCH_PARISC BOOST_VERSION_NUMBER(2,0,0)
|
|
|
|
|
# else
|
|
|
|
|
# define BOOST_ARCH_PARISC BOOST_VERSION_NUMBER(0,0,1)
|
|
|
|
|
# endif
|
2008-04-04 18:47:29 +00:00
|
|
|
#endif
|
|
|
|
|
|
2012-07-15 03:37:23 +00:00
|
|
|
#define BOOST_ARCH_PARISC_NAME "HP/PA RISC"
|
|
|
|
|
|
2011-11-19 03:46:41 +00:00
|
|
|
#include <boost/predef/detail/test.h>
|
2012-07-15 03:37:23 +00:00
|
|
|
BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_PARISC,BOOST_ARCH_PARISC_NAME)
|
|
|
|
|
|
2011-11-19 03:46:41 +00:00
|
|
|
|
2008-04-04 18:47:29 +00:00
|
|
|
#endif
|