From 88a3193f42fcbee52afeef1ed57477b8be2e920a Mon Sep 17 00:00:00 2001 From: Yannic Date: Tue, 10 Mar 2020 17:08:43 +0100 Subject: [PATCH] Remove check that C++ version is at least C++98 --- src/google/protobuf/port_def.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/google/protobuf/port_def.inc b/src/google/protobuf/port_def.inc index 394729ff55..f127e60797 100644 --- a/src/google/protobuf/port_def.inc +++ b/src/google/protobuf/port_def.inc @@ -311,7 +311,7 @@ #elif defined(__has_feature) // https://clang.llvm.org/docs/LanguageExtensions.html#has-feature-and-has-extension #define PROTOBUF_RTTI __has_feature(cxx_rtti) -#elif !defined(__cxx_rtti) && __cplusplus >= 199711L +#elif !defined(__cxx_rtti) // https://en.cppreference.com/w/User:D41D8CD98F/feature_testing_macros#C.2B.2B98 #define PROTOBUF_RTTI 0 #elif defined(__GNUC__) && !defined(__GXX_RTTI)