2022-08-04 11:40:42 +00:00
|
|
|
--- protobuf-21.2/src/google/protobuf/port_def.inc.orig 2022-07-03 09:45:35.196880191 +0200
|
|
|
|
+++ protobuf-21.2/src/google/protobuf/port_def.inc 2022-07-03 09:46:17.673245305 +0200
|
|
|
|
@@ -651,7 +651,11 @@
|
2022-05-05 14:47:45 +00:00
|
|
|
#define PROTOBUF_CONSTINIT [[clang::require_constant_initialization]]
|
|
|
|
#define PROTOBUF_CONSTEXPR constexpr
|
2022-07-11 07:31:25 +00:00
|
|
|
#elif PROTOBUF_GNUC_MIN(12, 2)
|
2022-05-05 14:47:45 +00:00
|
|
|
+#if PROTOBUF_CPLUSPLUS_MIN(201703L)
|
|
|
|
#define PROTOBUF_CONSTINIT __constinit
|
|
|
|
+#else
|
|
|
|
+#define PROTOBUF_CONSTINIT
|
|
|
|
+#endif
|
|
|
|
#define PROTOBUF_CONSTEXPR constexpr
|
2022-08-04 11:40:42 +00:00
|
|
|
#else
|
|
|
|
#define PROTOBUF_CONSTINIT
|