From 3e7b91eebd1e30ba0cc12e35757ac3abba75c2ce Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 15 Jul 2008 12:58:23 +0000 Subject: * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@18079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/tk/tcltklib.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ext/tk/tcltklib.c') diff --git a/ext/tk/tcltklib.c b/ext/tk/tcltklib.c index db31846e61..00a3256a82 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 -- cgit v1.2.1