diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-03-11 15:08:23 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-03-11 15:08:23 +0900 |
commit | 49447f828b19319d83ed97260da8a9527fa83ce9 (patch) | |
tree | ffc0623456d2493dd81a123db7523e2040720006 /regenc.h | |
parent | 82dea29073d50304b6029b15d07666994533d8d1 (diff) | |
download | ruby-49447f828b19319d83ed97260da8a9527fa83ce9.tar.gz |
Move ruby.h in `#ifdef RUBY` block
Must not depend on ruby specific files in Ruby unrelated cases.
Diffstat (limited to 'regenc.h')
-rw-r--r-- | regenc.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |