aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/compiler/cpp/cpp_file.cc
diff options
context:
space:
mode:
authorGravatar Tres Seaver <tseaver@palladion.com>2014-11-17 19:35:04 -0500
committerGravatar Tres Seaver <tseaver@palladion.com>2014-11-17 19:35:04 -0500
commit8b2aafe7d3f59463fb8693421c09bfefb3bd0104 (patch)
tree803aec712c672d78cf930889977df651269d33d7 /src/google/protobuf/compiler/cpp/cpp_file.cc
parent83671c0514741a64433dd86a958e3df6bf9508c6 (diff)
Use 'kint32min'/'kint32max' constants, rather than defining locally.
Diffstat (limited to 'src/google/protobuf/compiler/cpp/cpp_file.cc')
-rw-r--r--src/google/protobuf/compiler/cpp/cpp_file.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/google/protobuf/compiler/cpp/cpp_file.cc b/src/google/protobuf/compiler/cpp/cpp_file.cc
index 6b265dc6..6dc88e88 100644
--- a/src/google/protobuf/compiler/cpp/cpp_file.cc
+++ b/src/google/protobuf/compiler/cpp/cpp_file.cc
@@ -105,12 +105,6 @@ void FileGenerator::GenerateHeader(io::Printer* printer) {
"#define PROTOBUF_$filename_identifier$__INCLUDED\n"
"\n"
"#include <string>\n"
- "#ifndef PROTOBUF_ENUM_MIN\n"
- "#define PROTOBUF_ENUM_MIN (int32_t)0x80000000\n"
- "#endif\n"
- "#ifndef PROTOBUF_ENUM_MAX\n"
- "#define PROTOBUF_ENUM_MAX (int32_t)0x7fffffff\n"
- "#endif\n"
"\n",
"filename", file_->name(),
"filename_identifier", filename_identifier);