Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:48:05

0001 /*
0002 Copyright Rene Rivera 2008-2015
0003 Distributed under the Boost Software License, Version 1.0.
0004 (See accompanying file LICENSE_1_0.txt or copy at
0005 http://www.boost.org/LICENSE_1_0.txt)
0006 */
0007 
0008 #ifndef BOOST_PREDEF_COMPILER_SGI_MIPSPRO_H
0009 #define BOOST_PREDEF_COMPILER_SGI_MIPSPRO_H
0010 
0011 #include <boost/predef/version_number.h>
0012 #include <boost/predef/make.h>
0013 
0014 /* tag::reference[]
0015 = `BOOST_COMP_SGI`
0016 
0017 http://en.wikipedia.org/wiki/MIPSpro[SGI MIPSpro] compiler.
0018 Version number available as major, minor, and patch.
0019 
0020 [options="header"]
0021 |===
0022 | {predef_symbol} | {predef_version}
0023 
0024 | `+__sgi+` | {predef_detection}
0025 | `sgi` | {predef_detection}
0026 
0027 | `+_SGI_COMPILER_VERSION+` | V.R.P
0028 | `+_COMPILER_VERSION+` | V.R.P
0029 |===
0030 */ // end::reference[]
0031 
0032 #define BOOST_COMP_SGI BOOST_VERSION_NUMBER_NOT_AVAILABLE
0033 
0034 #if defined(__sgi) || defined(sgi)
0035 #   if !defined(BOOST_COMP_SGI_DETECTION) && defined(_SGI_COMPILER_VERSION)
0036 #       define BOOST_COMP_SGI_DETECTION BOOST_PREDEF_MAKE_10_VRP(_SGI_COMPILER_VERSION)
0037 #   endif
0038 #   if !defined(BOOST_COMP_SGI_DETECTION) && defined(_COMPILER_VERSION)
0039 #       define BOOST_COMP_SGI_DETECTION BOOST_PREDEF_MAKE_10_VRP(_COMPILER_VERSION)
0040 #   endif
0041 #   if !defined(BOOST_COMP_SGI_DETECTION)
0042 #       define BOOST_COMP_SGI_DETECTION BOOST_VERSION_NUMBER_AVAILABLE
0043 #   endif
0044 #endif
0045 
0046 #ifdef BOOST_COMP_SGI_DETECTION
0047 #   if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
0048 #       define BOOST_COMP_SGI_EMULATED BOOST_COMP_SGI_DETECTION
0049 #   else
0050 #       undef BOOST_COMP_SGI
0051 #       define BOOST_COMP_SGI BOOST_COMP_SGI_DETECTION
0052 #   endif
0053 #   define BOOST_COMP_SGI_AVAILABLE
0054 #   include <boost/predef/detail/comp_detected.h>
0055 #endif
0056 
0057 #define BOOST_COMP_SGI_NAME "SGI MIPSpro"
0058 
0059 #endif
0060 
0061 #include <boost/predef/detail/test.h>
0062 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_SGI,BOOST_COMP_SGI_NAME)
0063 
0064 #ifdef BOOST_COMP_SGI_EMULATED
0065 #include <boost/predef/detail/test.h>
0066 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_SGI_EMULATED,BOOST_COMP_SGI_NAME)
0067 #endif