@@ -549,7 +549,8 @@ RAPIDJSON_NAMESPACE_END
549
549
#define RAPIDJSON_HAS_CXX11_RVALUE_REFS 0
550
550
#endif
551
551
#elif (defined(RAPIDJSON_GNUC) && (RAPIDJSON_GNUC >= RAPIDJSON_VERSION_CODE(4,3,0)) && defined(__GXX_EXPERIMENTAL_CXX0X__)) || \
552
- (defined(_MSC_VER) && _MSC_VER >= 1600 )
552
+ (defined(_MSC_VER) && _MSC_VER >= 1600 ) || \
553
+ (defined(__SUNPRO_CC) && __SUNPRO_CC >= 0x5140 && defined(__GXX_EXPERIMENTAL_CXX0X__))
553
554
554
555
#define RAPIDJSON_HAS_CXX11_RVALUE_REFS 1
555
556
#else
@@ -561,7 +562,8 @@ RAPIDJSON_NAMESPACE_END
561
562
#if defined(__clang__)
562
563
#define RAPIDJSON_HAS_CXX11_NOEXCEPT __has_feature (cxx_noexcept)
563
564
#elif (defined(RAPIDJSON_GNUC) && (RAPIDJSON_GNUC >= RAPIDJSON_VERSION_CODE(4,6,0)) && defined(__GXX_EXPERIMENTAL_CXX0X__)) || \
564
- (defined(_MSC_VER) && _MSC_VER >= 1900 )
565
+ (defined(_MSC_VER) && _MSC_VER >= 1900 ) || \
566
+ (defined(__SUNPRO_CC) && __SUNPRO_CC >= 0x5140 && defined(__GXX_EXPERIMENTAL_CXX0X__))
565
567
#define RAPIDJSON_HAS_CXX11_NOEXCEPT 1
566
568
#else
567
569
#define RAPIDJSON_HAS_CXX11_NOEXCEPT 0
@@ -586,7 +588,8 @@ RAPIDJSON_NAMESPACE_END
586
588
#if defined(__clang__)
587
589
#define RAPIDJSON_HAS_CXX11_RANGE_FOR __has_feature (cxx_range_for)
588
590
#elif (defined(RAPIDJSON_GNUC) && (RAPIDJSON_GNUC >= RAPIDJSON_VERSION_CODE(4,6,0)) && defined(__GXX_EXPERIMENTAL_CXX0X__)) || \
589
- (defined(_MSC_VER) && _MSC_VER >= 1700 )
591
+ (defined(_MSC_VER) && _MSC_VER >= 1700 ) || \
592
+ (defined(__SUNPRO_CC) && __SUNPRO_CC >= 0x5140 && defined(__GXX_EXPERIMENTAL_CXX0X__))
590
593
#define RAPIDJSON_HAS_CXX11_RANGE_FOR 1
591
594
#else
592
595
#define RAPIDJSON_HAS_CXX11_RANGE_FOR 0
0 commit comments