diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-15 12:58:23 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-15 12:58:23 +0000 |
commit | 42172d16f06cd6c2edd606fc377896e24a0e0bf6 (patch) | |
tree | 614069c56a1aaa800ba5faaea46a8878b191a7ec /ext/tk/tcltklib.c | |
parent | 2ca19b21e1dad5fbad12ef92c4bdcfa9ed76a056 (diff) | |
download | ruby-42172d16f06cd6c2edd606fc377896e24a0e0bf6.tar.gz ruby-42172d16f06cd6c2edd606fc377896e24a0e0bf6.tar.xz ruby-42172d16f06cd6c2edd606fc377896e24a0e0bf6.zip |
* ext/tk/{,tkutil/}extconf.rb: ruby/ruby.h no longer needs to be
checked.
* ext/tk/{tcltklib.c,tkutil/tkutil.c}: check macros for each headers.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/tcltklib.c')
-rw-r--r-- | ext/tk/tcltklib.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/tk/tcltklib.c b/ext/tk/tcltklib.c index db31846e6..00a3256a8 100644 --- a/ext/tk/tcltklib.c +++ b/ext/tk/tcltklib.c @@ -10,12 +10,13 @@ #ifdef HAVE_RUBY_SIGNAL_H #include "ruby/signal.h" +#else +#include "rubysig.h" +#endif #ifdef HAVE_RUBY_ENCODING_H #include "ruby/encoding.h" #endif -#else -/* #include "ruby.h" */ -#include "rubysig.h" +#ifndef HAVE_RUBY_RUBY_H #include "version.h" #endif |