Jelajahi Sumber

Add missing LIBRPOTOC_EXPORT.

Feng Xiao 8 tahun lalu
induk
melakukan
7378ec2bc8
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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