Browse Source

Add missing LIBPROTOC_EXPORT to ruby generator

Nobuaki Sukegawa 10 years ago
parent
commit
de525ec219
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/google/protobuf/compiler/ruby/ruby_generator.h

+ 2 - 1
src/google/protobuf/compiler/ruby/ruby_generator.h

@@ -40,7 +40,8 @@ namespace protobuf {
 namespace compiler {
 namespace compiler {
 namespace ruby {
 namespace ruby {
 
 
-class Generator : public google::protobuf::compiler::CodeGenerator {
+class LIBPROTOC_EXPORT Generator
+    : public google::protobuf::compiler::CodeGenerator {
   virtual bool Generate(
   virtual bool Generate(
       const FileDescriptor* file,
       const FileDescriptor* file,
       const string& parameter,
       const string& parameter,