diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-29 08:11:02 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-29 08:11:02 +0000 |
commit | 3bc2f5a9b6a846c79f402ca9e3981540db8c8925 (patch) | |
tree | 01c7849feda84cd5d667d5553efd7b95dcc5e1bd | |
parent | c788fb48086653599cf51b9dd128b8efe7dec33c (diff) |
redefinition of a typedef is a C11ism
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | tool/ruby_vm/views/_attributes.erb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tool/ruby_vm/views/_attributes.erb b/tool/ruby_vm/views/_attributes.erb index d15299c235..9229f1a5ce 100644 --- a/tool/ruby_vm/views/_attributes.erb +++ b/tool/ruby_vm/views/_attributes.erb @@ -5,10 +5,13 @@ %# granted, to either redistribute and/or modify this file, provided that the %# conditions mentioned in the file COPYING are met. Consult the file for %# +#ifndef RUBY_VM_EXEC_H +/* can't #include "vm_exec.h" here... */ typedef long OFFSET; typedef unsigned long lindex_t; typedef VALUE GENTRY; typedef rb_iseq_t *ISEQ; +#endif % attrs = RubyVM::Instructions.map(&:attributes).flatten % |