Files
boost_predef/boost/predef/compiler/sgi_mipspro.h

38 lines
1.0 KiB
C
Raw Normal View History

/*
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_COMPILER_SGI_MIPSPRO_H
#define BOOST_PREDEF_COMPILER_SGI_MIPSPRO_H
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_SGI`]
[@http://en.wikipedia.org/wiki/MIPSpro SGI MIPSpro] compiler.
Version number available as major, minor, and patch.
*/
#define BOOST_CXX_SGI BOOST_VERSION_NUMBER(0,0,0)
#if defined(__sgi) || defined(sgi)
#undef BOOST_CXX_SGI
#if defined(_SGI_COMPILER_VERSION)
#define BOOST_CXX_SGI BOOST_PREDEF_MAKE_N_N_N(_SGI_COMPILER_VERSION)
#elif defined(_COMPILER_VERSION)
#define BOOST_CXX_SGI BOOST_PREDEF_MAKE_N_N_N(_COMPILER_VERSION)
#else
#define BOOST_CXX_SGI BOOST_VERSION_NUMBER(0,0,1)
#endif
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_SGI,"SGI MIPSpro")
#endif