diff options
author | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2010-01-04 21:15:47 +0000 |
---|---|---|
committer | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2010-01-04 21:15:47 +0000 |
commit | d78ca9c74f66005ae48efb8921bd305260567935 (patch) | |
tree | 293f6e5fe5c6d193b313f0031e9791d9298db6d6 /src/google/protobuf/compiler/plugin.h | |
parent | c619a3da2ab251eb0eba148413981b6d7114a1d9 (diff) |
Fixed DLL compile under MSVC.
Diffstat (limited to 'src/google/protobuf/compiler/plugin.h')
-rw-r--r-- | src/google/protobuf/compiler/plugin.h | 2 |
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 |