Move Protobuf C++ versions out of port_def.inc to runtime_version.h so that the version can be used for preprocessing by users.
PiperOrigin-RevId: 613271110pull/16060/head
parent
33f367d2ba
commit
009078df7a
10 changed files with 39 additions and 38 deletions
@ -0,0 +1,15 @@ |
||||
#ifndef GOOGLE_PROTOBUF_RUNTIME_VERSION_H__ |
||||
#define GOOGLE_PROTOBUF_RUNTIME_VERSION_H__ |
||||
|
||||
#ifdef PROTOBUF_VERSION |
||||
#error PROTOBUF_VERSION was previously defined |
||||
#endif // PROTOBUF_VERSION
|
||||
|
||||
#ifdef PROTOBUF_VERSION_SUFFIX |
||||
#error PROTOBUF_VERSION_SUFFIX was previously defined |
||||
#endif // PROTOBUF_VERSION_SUFFIX
|
||||
|
||||
#define PROTOBUF_VERSION 5027000 |
||||
#define PROTOBUF_VERSION_SUFFIX "-dev" |
||||
|
||||
#endif // GOOGLE_PROTOBUF_RUNTIME_VERSION_H__
|
Loading…
Reference in new issue