summaryrefslogtreecommitdiffstats
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
commitd7c0f0408a90154ed59f0aba487cc9201f906f2c (patch)
tree73301c514c8b5798d967e6013e0220a2e1daf8fd /regenc.h
parent6fc04282235d57ace32e5cd981737d4ede6f15aa (diff)
downloadruby-d7c0f0408a90154ed59f0aba487cc9201f906f2c.tar.gz
ruby-d7c0f0408a90154ed59f0aba487cc9201f906f2c.tar.xz
ruby-d7c0f0408a90154ed59f0aba487cc9201f906f2c.zip
* regenc.h: check RUBY_EXTERN before including config.h and defines.h
* common.mk: update header dependency. git-svn-id: http://svn.ruby-lang.org/repos/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 bd9fab3be..55a71ab44 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