From 70f5d818f8f4956354221e7977bb1b8b40c00a5a Mon Sep 17 00:00:00 2001 From: usa Date: Thu, 30 Aug 2007 10:42:09 +0000 Subject: * regenc.h: check RUBY_EXTERN before including config.h and defines.h * common.mk: update header dependency. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- regenc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'regenc.h') diff --git a/regenc.h b/regenc.h index bd9fab3be1..55a71ab449 100644 --- a/regenc.h +++ b/regenc.h @@ -29,8 +29,10 @@ * SUCH DAMAGE. */ #ifndef REGINT_H +#ifndef RUBY_EXTERN #include "ruby/config.h" #include "ruby/defines.h" +#endif #ifdef ONIG_ESCAPE_UCHAR_COLLISION #undef ONIG_ESCAPE_UCHAR_COLLISION #endif -- cgit v1.2.3