浏览代码

Add missing LIBPROTOC_EXPORT to ruby generator

Nobuaki Sukegawa 10 年之前
父节点
当前提交
de525ec219
共有 1 个文件被更改,包括 2 次插入1 次删除
  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 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,