1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* io.c (shutdown): not define if defined already.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2008-08-08 14:27:25 +00:00
parent 6a852b7c2b
commit 90ca8317d3
2 changed files with 5 additions and 1 deletions

View file

@ -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.

2
io.c
View file

@ -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