瀏覽代碼

Merge pull request #3960 from acozzette/libprotoc-export-fix

Added back in LIBPROTOC_EXPORT which was removed by mistake
Adam Cozzette 7 年之前
父節點
當前提交
3c6fd3f7f9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/google/protobuf/compiler/code_generator.h

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

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