|
|
|
@ -1030,6 +1030,19 @@ static_assert(PROTOBUF_ABSL_MIN(20230125, 3), |
|
|
|
|
#undef TYPE_BOOL |
|
|
|
|
#endif // __APPLE__ |
|
|
|
|
|
|
|
|
|
#ifdef __FreeBSD__ |
|
|
|
|
// Inconvenient macro names from /usr/include/sys/param.h. |
|
|
|
|
#pragma push_macro("TRUE") |
|
|
|
|
#undef TRUE |
|
|
|
|
#pragma push_macro("FALSE") |
|
|
|
|
#undef FALSE |
|
|
|
|
// Inconvenient macro names from /usr/include/sys/limits.h. |
|
|
|
|
#pragma push_macro("UID_MAX") |
|
|
|
|
#undef UID_MAX |
|
|
|
|
#pragma push_macro("GID_MAX") |
|
|
|
|
#undef GID_MAX |
|
|
|
|
#endif // __FreeBSD__ |
|
|
|
|
|
|
|
|
|
#if defined(__clang__) || defined(__GNUC__) || defined(_MSC_VER) |
|
|
|
|
// Don't let Objective-C Macros interfere with proto identifiers with the same |
|
|
|
|
// name. |
|
|
|
|