mirror of
https://github.com/protobuf-c/protobuf-c.git
synced 2024-12-26 21:04:23 +08:00
7b90330bff
Looking at where these identifiers are ultimately defined [0], it looks like "DFATAL" means either "ERROR" or "FATAL" depending on whether NDEBUG is defined. However, looking at the actual code sites in protoc-c where DFATAL is used, it's not clear why we couldn't just use FATAL unconditionally. This is aimed at supporting newer versions of protobuf where the DFATAL identifier apparently no longer exists. [0] https://github.com/protocolbuffers/protobuf/blob/v21.12/src/google/protobuf/stubs/logging.h#L61-L65