Skip to content

Commit

Permalink
Remove check that C++ version is at least C++98
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannic authored and acozzette committed Mar 10, 2020
1 parent edb67ec commit 88a3193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/google/protobuf/port_def.inc
Expand Up @@ -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)
Expand Down

0 comments on commit 88a3193

Please sign in to comment.