mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Move ruby.h in #ifdef RUBY
block
Must not depend on ruby specific files in Ruby unrelated cases.
This commit is contained in:
parent
82dea29073
commit
49447f828b
1 changed files with 1 additions and 2 deletions
3
regenc.h
3
regenc.h
|
@ -40,6 +40,7 @@
|
|||
# include "ruby/defines.h"
|
||||
# endif
|
||||
# endif
|
||||
# include "ruby.h"
|
||||
#else /* RUBY */
|
||||
# ifndef PACKAGE
|
||||
/* PACKAGE is defined in config.h */
|
||||
|
@ -51,8 +52,6 @@
|
|||
# undef ONIG_ESCAPE_UCHAR_COLLISION
|
||||
#endif
|
||||
|
||||
#include "ruby.h"
|
||||
|
||||
#ifdef RUBY
|
||||
# include "ruby/onigmo.h"
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue