redefinition of a typedef is a C11ism
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c788fb4808
commit
3bc2f5a9b6
@ -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
|
||||
%
|
||||
|
Loading…
x
Reference in New Issue
Block a user