diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-04 07:15:12 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-04 07:15:12 +0000 |
commit | b4adf81a4b00182d8600544f00b9ba8cf0a20c24 (patch) | |
tree | ca18648c31e8b336e5ef2bd9166091ef0fb9f120 /ext/curses | |
parent | e1c4971ba67ac73c246712df28974119b7d45625 (diff) | |
download | ruby-b4adf81a4b00182d8600544f00b9ba8cf0a20c24.tar.gz ruby-b4adf81a4b00182d8600544f00b9ba8cf0a20c24.tar.xz ruby-b4adf81a4b00182d8600544f00b9ba8cf0a20c24.zip |
* eval.c (rb_exec_recursive): matched the declaration to prototype.
* ext/curses/curses.c: don't need to check HAVE_WCOLOR_SET excluding
window_color_set().
* ext/tk/tcltklib.c: fixed commit mistakes.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/curses')
-rw-r--r-- | ext/curses/curses.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/curses/curses.c b/ext/curses/curses.c index d36610a88..1ed5b3e86 100644 --- a/ext/curses/curses.c +++ b/ext/curses/curses.c @@ -561,7 +561,7 @@ curses_resizeterm(VALUE obj, VALUE lin, VALUE col) #endif } -#if defined(USE_COLOR) && defined(HAVE_WCOLOR_SET) +#ifdef USE_COLOR static VALUE curses_start_color(VALUE obj) { @@ -1207,7 +1207,7 @@ window_color_set(VALUE obj, VALUE col) return (res == OK) ? Qtrue : Qfalse; return Qfalse; } -#endif /* USE_COLOR */ +#endif /* defined(USE_COLOR) && defined(HAVE_WCOLOR_SET) */ static VALUE window_scroll(VALUE obj) |