Commit 5cd4d5c4 authored by Robert Edmonds's avatar Robert Edmonds

protoc-gen-c: FileGenerator::GenerateHeader(): "protoc-c" → "protobuf-c"

parent c4e17a92
......@@ -134,15 +134,15 @@ void FileGenerator::GenerateHeader(google::protobuf::io::Printer* printer) {
"filename_identifier", filename_identifier);
// Verify the protobuf-c library header version is compatible with the
// protoc-c version before going any further.
// protoc-gen-c version before going any further.
printer->Print(
"#if PROTOBUF_C_VERSION_NUMBER < $min_header_version$\n"
"# error This file was generated by a newer version of protoc-c which is "
"# error This file was generated by a newer version of protobuf-c which is "
"incompatible with your libprotobuf-c headers. Please update your headers.\n"
"#elif $protoc_version$ < PROTOBUF_C_MIN_COMPILER_VERSION\n"
"# error This file was generated by an older version of protoc-c which is "
"# error This file was generated by an older version of protobuf-c which is "
"incompatible with your libprotobuf-c headers. Please regenerate this file "
"with a newer version of protoc-c.\n"
"with a newer version of protobuf-c.\n"
"#endif\n"
"\n",
"min_header_version", SimpleItoa(min_header_version),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment