2010-05-22 20:20:04 +00:00
|
|
|
/*
|
2011-11-30 05:54:23 +00:00
|
|
|
Copyright Redshift Software, Inc. 2008-2011
|
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_COMPILER_SGI_MIPSPRO_H
|
|
|
|
#define BOOST_PREDEF_COMPILER_SGI_MIPSPRO_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>
|
2008-04-04 18:47:29 +00:00
|
|
|
|
2011-11-30 05:54:23 +00:00
|
|
|
/*`
|
|
|
|
[heading `BOOST_CXX_SGI`]
|
|
|
|
|
2011-12-15 03:48:37 +00:00
|
|
|
[@http://en.wikipedia.org/wiki/MIPSpro SGI MIPSpro] compiler.
|
2011-11-30 05:54:23 +00:00
|
|
|
Version number available as major, minor, and patch.
|
|
|
|
*/
|
|
|
|
|
2008-04-04 18:47:29 +00:00
|
|
|
#define BOOST_CXX_SGI BOOST_VERSION_NUMBER(0,0,0)
|
|
|
|
|
2011-12-15 03:48:37 +00:00
|
|
|
#if defined(__sgi) || defined(sgi)
|
2008-04-04 18:47:29 +00:00
|
|
|
#undef BOOST_CXX_SGI
|
|
|
|
#if defined(_SGI_COMPILER_VERSION)
|
2011-11-19 03:46:41 +00:00
|
|
|
#define BOOST_CXX_SGI BOOST_PREDEF_MAKE_N_N_N(_SGI_COMPILER_VERSION)
|
2011-12-15 03:48:37 +00:00
|
|
|
#elif defined(_COMPILER_VERSION)
|
2011-11-19 03:46:41 +00:00
|
|
|
#define BOOST_CXX_SGI BOOST_PREDEF_MAKE_N_N_N(_COMPILER_VERSION)
|
2011-12-15 03:48:37 +00:00
|
|
|
#else
|
|
|
|
#define BOOST_CXX_SGI BOOST_VERSION_NUMBER(0,0,1)
|
2008-04-04 18:47:29 +00:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2011-11-19 03:46:41 +00:00
|
|
|
#include <boost/predef/detail/test.h>
|
2011-12-15 03:48:37 +00:00
|
|
|
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_SGI,"SGI MIPSpro")
|
2011-11-19 03:46:41 +00:00
|
|
|
|
2008-04-04 18:47:29 +00:00
|
|
|
#endif
|