diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-18 16:24:42 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-18 16:24:42 +0000 |
commit | d45bda0bf853a18645b795e2d43c8481696bea31 (patch) | |
tree | 898fe6067743f64bced97edf2ad9824de3de15ed /ext/tcltklib/stubs.c | |
parent | 857d380411b9903309eb84cae040a483043e755d (diff) |
* ext/curses/curses.c (_XOPEN_SOURCE_EXTENDED): Mac OS X standard
headers are inconsistent at this macro. [ruby-core:01432]
* ext/curses/extconf.rb: check if _XOPEN_SOURCE_EXTENDED breaks.
* ext/tcltklib/stubs.c: Status macro in X11/Xthreads.h bothers
winspool.h
* instruby.rb: make list at first instead of iterator.
[ruby-talk:79347]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tcltklib/stubs.c')
-rw-r--r-- | ext/tcltklib/stubs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/tcltklib/stubs.c b/ext/tcltklib/stubs.c index a1dd08f4a3..56cc8ca921 100644 --- a/ext/tcltklib/stubs.c +++ b/ext/tcltklib/stubs.c @@ -1,8 +1,6 @@ int ruby_tcltk_stubs(); #if defined USE_TCL_STUBS && defined USE_TK_STUBS -#include <tcl.h> -#include <tk.h> #include "ruby.h" #if defined _WIN32 || defined __CYGWIN__ @@ -28,6 +26,9 @@ int ruby_tcltk_stubs(); # define TK_NAME "libtk8.9%s" #endif +#include <tcl.h> +#include <tk.h> + int ruby_tcltk_stubs() { |