We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edb67ec commit 88a3193Copy full SHA for 88a3193
src/google/protobuf/port_def.inc
@@ -311,7 +311,7 @@
311
#elif defined(__has_feature)
312
// https://clang.llvm.org/docs/LanguageExtensions.html#has-feature-and-has-extension
313
#define PROTOBUF_RTTI __has_feature(cxx_rtti)
314
-#elif !defined(__cxx_rtti) && __cplusplus >= 199711L
+#elif !defined(__cxx_rtti)
315
// https://en.cppreference.com/w/User:D41D8CD98F/feature_testing_macros#C.2B.2B98
316
#define PROTOBUF_RTTI 0
317
#elif defined(__GNUC__) && !defined(__GXX_RTTI)
0 commit comments