summaryrefslogtreecommitdiff
path: root/regenc.h
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-30 10:42:09 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-30 10:42:09 +0000
commit70f5d818f8f4956354221e7977bb1b8b40c00a5a (patch)
tree73301c514c8b5798d967e6013e0220a2e1daf8fd /regenc.h
parent7d4ee1d235a90d98e94b12a6a2070d5e8b0c404f (diff)
* 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
Diffstat (limited to 'regenc.h')
-rw-r--r--regenc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/regenc.h b/regenc.h
index bd9fab3..55a71ab 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