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_SUNPRO_H
0009 #define BOOST_PREDEF_COMPILER_SUNPRO_H
0010 
0011 #include <boost/predef/version_number.h>
0012 #include <boost/predef/make.h>
0013 
0014 /* tag::reference[]
0015 = `BOOST_COMP_SUNPRO`
0016 
0017 http://en.wikipedia.org/wiki/Oracle_Solaris_Studio[Oracle Solaris Studio] compiler.
0018 Version number available as major, minor, and patch.
0019 
0020 [options="header"]
0021 |===
0022 | {predef_symbol} | {predef_version}
0023 
0024 | `+__SUNPRO_CC+` | {predef_detection}
0025 | `+__SUNPRO_C+` | {predef_detection}
0026 
0027 | `+__SUNPRO_CC+` | V.R.P
0028 | `+__SUNPRO_C+` | V.R.P
0029 | `+__SUNPRO_CC+` | VV.RR.P
0030 | `+__SUNPRO_C+` | VV.RR.P
0031 |===
0032 */ // end::reference[]
0033 
0034 #define BOOST_COMP_SUNPRO BOOST_VERSION_NUMBER_NOT_AVAILABLE
0035 
0036 #if defined(__SUNPRO_CC) || defined(__SUNPRO_C)
0037 #   if !defined(BOOST_COMP_SUNPRO_DETECTION) && defined(__SUNPRO_CC)
0038 #       if (__SUNPRO_CC < 0x5100)
0039 #           define BOOST_COMP_SUNPRO_DETECTION BOOST_PREDEF_MAKE_0X_VRP(__SUNPRO_CC)
0040 #       else
0041 #           define BOOST_COMP_SUNPRO_DETECTION BOOST_PREDEF_MAKE_0X_VVRRP(__SUNPRO_CC)
0042 #       endif
0043 #   endif
0044 #   if !defined(BOOST_COMP_SUNPRO_DETECTION) && defined(__SUNPRO_C)
0045 #       if (__SUNPRO_C < 0x5100)
0046 #           define BOOST_COMP_SUNPRO_DETECTION BOOST_PREDEF_MAKE_0X_VRP(__SUNPRO_C)
0047 #       else
0048 #           define BOOST_COMP_SUNPRO_DETECTION BOOST_PREDEF_MAKE_0X_VVRRP(__SUNPRO_C)
0049 #       endif
0050 #   endif
0051 #   if !defined(BOOST_COMP_SUNPRO_DETECTION)
0052 #       define BOOST_COMP_SUNPRO_DETECTION BOOST_VERSION_NUMBER_AVAILABLE
0053 #   endif
0054 #endif
0055 
0056 #ifdef BOOST_COMP_SUNPRO_DETECTION
0057 #   if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
0058 #       define BOOST_COMP_SUNPRO_EMULATED BOOST_COMP_SUNPRO_DETECTION
0059 #   else
0060 #       undef BOOST_COMP_SUNPRO
0061 #       define BOOST_COMP_SUNPRO BOOST_COMP_SUNPRO_DETECTION
0062 #   endif
0063 #   define BOOST_COMP_SUNPRO_AVAILABLE
0064 #   include <boost/predef/detail/comp_detected.h>
0065 #endif
0066 
0067 #define BOOST_COMP_SUNPRO_NAME "Oracle Solaris Studio"
0068 
0069 #endif
0070 
0071 #include <boost/predef/detail/test.h>
0072 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_SUNPRO,BOOST_COMP_SUNPRO_NAME)
0073 
0074 #ifdef BOOST_COMP_SUNPRO_EMULATED
0075 #include <boost/predef/detail/test.h>
0076 BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_SUNPRO_EMULATED,BOOST_COMP_SUNPRO_NAME)
0077 #endif