/* 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_SUNPRO_H #define BOOST_PREDEF_COMPILER_SUNPRO_H #include #include /*` [heading `BOOST_CXX_SUNPRO`] [@http://en.wikipedia.org/wiki/Sun_Studio_%28software%29 Sun Studio] compiler. Version number available as major, minor, and patch. */ #define BOOST_CXX_SUNPRO BOOST_VERSION_NUMBER(0,0,0) #if defined(__SUNPRO_CC) || defined(__SUNPRO_C) #undef BOOST_CXX_SUNPRO #if defined(__SUNPRO_CC) #define BOOST_CXX_SUNPRO BOOST_PREDEF_MAKE_F_F_F(__SUNPRO_CC) #elif defined(__SUNPRO_C) #define BOOST_CXX_SUNPRO BOOST_PREDEF_MAKE_F_F_F(__SUNPRO_C) #else #define BOOST_CXX_SUNPRO BOOST_VERSION_NUMBER(0,0,1) #endif #endif #include BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_SUNPRO,"Sun Studio") #endif