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"
|
# include "ruby/defines.h"
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
|
# include "ruby.h"
|
||||||
#else /* RUBY */
|
#else /* RUBY */
|
||||||
# ifndef PACKAGE
|
# ifndef PACKAGE
|
||||||
/* PACKAGE is defined in config.h */
|
/* PACKAGE is defined in config.h */
|
||||||
|
@ -51,8 +52,6 @@
|
||||||
# undef ONIG_ESCAPE_UCHAR_COLLISION
|
# undef ONIG_ESCAPE_UCHAR_COLLISION
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "ruby.h"
|
|
||||||
|
|
||||||
#ifdef RUBY
|
#ifdef RUBY
|
||||||
# include "ruby/onigmo.h"
|
# include "ruby/onigmo.h"
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue