Explorar o código

Add missing LIBRPOTOC_EXPORT.

Feng Xiao %!s(int64=8) %!d(string=hai) anos
pai
achega
7378ec2bc8
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/google/protobuf/compiler/code_generator.h

+ 2 - 2
src/google/protobuf/compiler/code_generator.h

@@ -162,8 +162,8 @@ typedef GeneratorContext OutputDirectory;
 //   "foo=bar,baz,qux=corge"
 // parses to the pairs:
 //   ("foo", "bar"), ("baz", ""), ("qux", "corge")
-extern void ParseGeneratorParameter(const string&,
-            std::vector<std::pair<string, string> >*);
+LIBPROTOC_EXPORT void ParseGeneratorParameter(
+    const string&, std::vector<std::pair<string, string> >*);
 
 }  // namespace compiler
 }  // namespace protobuf