-
Notifications
You must be signed in to change notification settings - Fork 15.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Defines Protobuf compiler version strings as macros and separates out…
… suffix string definition. This conforms to the Protobuf release process so that suffix "-main" will stay in main and not be overwritten. PiperOrigin-RevId: 570480115
- Loading branch information
1 parent
68fce2e
commit 3c59585
Showing
9 changed files
with
42 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// Protocol Buffers - Google's data interchange format | ||
// Copyright 2008 Google Inc. All rights reserved. | ||
// | ||
// Use of this source code is governed by a BSD-style | ||
// license that can be found in the LICENSE file or at | ||
// https://developers.google.com/open-source/licenses/bsd | ||
|
||
#ifndef GOOGLE_PROTOBUF_COMPILER_VERSIONS_SUFFIX_H__ | ||
#define GOOGLE_PROTOBUF_COMPILER_VERSIONS_SUFFIX_H__ | ||
|
||
// Defines compiler version suffix for Protobuf code generators. | ||
// | ||
// It is defined separately from the language-specific version strings that are | ||
// in versions.h to prevent it from being overwritten when merging Protobuf | ||
// release branches back to main, as the suffix "-main" should stay in the | ||
// Protobuf github main branch. | ||
// | ||
// Note that the version suffix "-main" implies the main branch. For example, | ||
// 4.25-main reflects a main branch version under development towards 25.x | ||
// release, and thus should not be used for production. | ||
// | ||
// Please avoid changing it manually, as they should be updated automatically by | ||
// the Protobuf release process. | ||
#define PROTOBUF_GENCODE_VERSION_SUFFIX "-main" | ||
|
||
#endif // GOOGLE_PROTOBUF_COMPILER_VERSIONS_SUFFIX_H__ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.