aboutsummaryrefslogtreecommitdiff
path: root/src/google
diff options
context:
space:
mode:
authorChris Fallin <cfallin@c1f.net>2015-02-07 22:46:26 -0800
committerChris Fallin <cfallin@c1f.net>2015-02-07 22:46:26 -0800
commit2e5123a3998dc0d2fcfdf72d562bd0fc13e19be0 (patch)
treeb28ce0a6243e95b1d235157fb733ac0061b75d5b /src/google
parent20490e33cae8d21a2e37e4383a4f1330612be49c (diff)
parentde525ec219338d37eee976c00783cd1edee8054d (diff)
downloadprotobuf-2e5123a3998dc0d2fcfdf72d562bd0fc13e19be0.tar.gz
protobuf-2e5123a3998dc0d2fcfdf72d562bd0fc13e19be0.tar.bz2
protobuf-2e5123a3998dc0d2fcfdf72d562bd0fc13e19be0.zip
Merge pull request #197 from nsuke/protoc-export-ruby
Add missing LIBPROTOC_EXPORT to ruby generator
Diffstat (limited to 'src/google')
-rw-r--r--src/google/protobuf/compiler/ruby/ruby_generator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/google/protobuf/compiler/ruby/ruby_generator.h b/src/google/protobuf/compiler/ruby/ruby_generator.h
index 48dbefd1..75555c31 100644
--- a/src/google/protobuf/compiler/ruby/ruby_generator.h
+++ b/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,