aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/compiler/plugin.h
diff options
context:
space:
mode:
authorGravatar kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d>2010-01-04 21:15:47 +0000
committerGravatar kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d>2010-01-04 21:15:47 +0000
commitd78ca9c74f66005ae48efb8921bd305260567935 (patch)
tree293f6e5fe5c6d193b313f0031e9791d9298db6d6 /src/google/protobuf/compiler/plugin.h
parentc619a3da2ab251eb0eba148413981b6d7114a1d9 (diff)
Fixed DLL compile under MSVC.
Diffstat (limited to 'src/google/protobuf/compiler/plugin.h')
-rw-r--r--src/google/protobuf/compiler/plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/compiler/plugin.h b/src/google/protobuf/compiler/plugin.h
index 32ba55ba..4731b47b 100644
--- a/src/google/protobuf/compiler/plugin.h
+++ b/src/google/protobuf/compiler/plugin.h
@@ -47,7 +47,7 @@ class CodeGenerator; // code_generator.h
// MyCodeGenerator generator;
// return PluginMain(argc, argv, &generator);
// }
-int PluginMain(int argc, char* argv[], const CodeGenerator* generator);
+LIBPROTOC_EXPORT int PluginMain(int argc, char* argv[], const CodeGenerator* generator);
} // namespace compiler
} // namespace protobuf