Эх сурвалжийг харах

Merge pull request #197 from nsuke/protoc-export-ruby

Add missing LIBPROTOC_EXPORT to ruby generator
Chris Fallin 10 жил өмнө
parent
commit
2e5123a399

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

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