aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Feng Xiao <xfxyjwf@gmail.com>2017-05-04 15:27:30 -0700
committerGravatar Feng Xiao <xfxyjwf@gmail.com>2017-05-04 15:27:30 -0700
commit7378ec2bc8da17ba4b1050dbb1ff05425f05537e (patch)
tree4dbb657e0a5bced7ae2d0c700d69a2b9be57277d
parent3a5a0724f300e9c7de98851a0bbaaa4363981486 (diff)
Add missing LIBRPOTOC_EXPORT.
-rw-r--r--src/google/protobuf/compiler/code_generator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/google/protobuf/compiler/code_generator.h b/src/google/protobuf/compiler/code_generator.h
index b917d373..6ea5f18d 100644
--- a/src/google/protobuf/compiler/code_generator.h
+++ b/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