Update for Oracle 12.5, see issue #12425

This commit is contained in:
John Maddock
2016-09-04 16:04:08 +00:00
parent 65fa2a46f2
commit a17bb6c8da

View File

@ -151,8 +151,12 @@
// Oracle Solaris compiler uses it's own verison of libstdc++ but doesn't // Oracle Solaris compiler uses it's own verison of libstdc++ but doesn't
// set __GNUC__ // set __GNUC__
// //
#if __SUNPRO_CC >= 0x5140
#define BOOST_LIBSTDCXX_VERSION 50100
#else
#define BOOST_LIBSTDCXX_VERSION 40800 #define BOOST_LIBSTDCXX_VERSION 40800
#endif #endif
#endif
#if !defined(BOOST_LIBSTDCXX_VERSION) #if !defined(BOOST_LIBSTDCXX_VERSION)
# define BOOST_LIBSTDCXX_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) # define BOOST_LIBSTDCXX_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
@ -259,7 +263,7 @@
// //
// Headers not present on Solaris with the Oracle compiler: // Headers not present on Solaris with the Oracle compiler:
#if defined(__SUNPRO_CC) #if defined(__SUNPRO_CC) && (__SUNPRO_CC < 0x5140)
#define BOOST_NO_CXX11_HDR_FUTURE #define BOOST_NO_CXX11_HDR_FUTURE
#define BOOST_NO_CXX11_HDR_FORWARD_LIST #define BOOST_NO_CXX11_HDR_FORWARD_LIST
#define BOOST_NO_CXX11_HDR_ATOMIC #define BOOST_NO_CXX11_HDR_ATOMIC