diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | io.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Fri Aug 8 23:27:03 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * io.c (shutdown): not define if defined already. + Fri Aug 8 22:47:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> * vm_insnhelper.c (opt_eq_func): large function to make inline. @@ -199,7 +199,7 @@ static int max_file_descriptor = NOFILE; # endif #endif -#ifndef HAVE_SHUTDOWN +#if !defined HAVE_SHUTDOWN && !defined shutdown #define shutdown(a,b) 0 #endif |