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 | 7dc2f790a2f899c98b36eb72f63b21e03462d92e (patch) | |
tree | 898fe6067743f64bced97edf2ad9824de3de15ed /ext/tcltklib/stubs.c | |
parent | a66b7c716eb15ed80e676a15b3337e8a0413944a (diff) | |
download | ruby-7dc2f790a2f899c98b36eb72f63b21e03462d92e.tar.gz ruby-7dc2f790a2f899c98b36eb72f63b21e03462d92e.tar.xz ruby-7dc2f790a2f899c98b36eb72f63b21e03462d92e.zip |
* 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: http://svn.ruby-lang.org/repos/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 a1dd08f4a..56cc8ca92 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() { |