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

Add missing LIBPROTOC_EXPORT to ruby generator
This commit is contained in:
Chris Fallin 2015-02-07 22:46:26 -08:00
commit 2e5123a399

View file

@ -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,