Remove check that C++ version is at least C++98

pull/7269/head
Yannic 5 years ago committed by Adam Cozzette
parent edb67ec446
commit 88a3193f42
  1. 2
      src/google/protobuf/port_def.inc

@ -311,7 +311,7 @@
#elif defined(__has_feature) #elif defined(__has_feature)
// https://clang.llvm.org/docs/LanguageExtensions.html#has-feature-and-has-extension // https://clang.llvm.org/docs/LanguageExtensions.html#has-feature-and-has-extension
#define PROTOBUF_RTTI __has_feature(cxx_rtti) #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 // https://en.cppreference.com/w/User:D41D8CD98F/feature_testing_macros#C.2B.2B98
#define PROTOBUF_RTTI 0 #define PROTOBUF_RTTI 0
#elif defined(__GNUC__) && !defined(__GXX_RTTI) #elif defined(__GNUC__) && !defined(__GXX_RTTI)

Loading…
Cancel
Save