Ver código fonte

Add missing LIBRPOTOC_EXPORT.

Feng Xiao 8 anos atrás
pai
commit
7378ec2bc8
1 arquivos alterados com 2 adições e 2 exclusões
  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