diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-04 13:33:22 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-04 13:33:22 +0000 |
commit | ae7ea3332b07c83ee050c88cd902070689fd582f (patch) | |
tree | 2fbb8acf1956241840fa109273e1226f4bb2ea36 /io.c | |
parent | 8dd118c0db80af4ff213265a2b2b475c73bb440a (diff) | |
download | ruby-ae7ea3332b07c83ee050c88cd902070689fd582f.tar.gz |
* dln.c: Ruby no longer supports MS-DOS.
* ext/sdbm/_sdbm.c: ditto.
* ext/sdbm/sdbm.h: ditto.
* gc.c: ditto.
* hash.c: ditto.
* include/ruby/defines.h: ditto.
* include/ruby/util.h: ditto.
* io.c: ditto.
* process.c: ditto.
* ruby.c: ditto.
* strftime.c: ditto.
* util.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -29,11 +29,11 @@ # include <sys/socket.h> #endif -#if defined(MSDOS) || defined(__BOW__) || defined(__CYGWIN__) || defined(_WIN32) || defined(__EMX__) || defined(__BEOS__) +#if defined(__BOW__) || defined(__CYGWIN__) || defined(_WIN32) || defined(__EMX__) || defined(__BEOS__) # define NO_SAFE_RENAME #endif -#if defined(MSDOS) || defined(__CYGWIN__) || defined(_WIN32) +#if defined(__CYGWIN__) || defined(_WIN32) # define NO_LONG_FNAME #endif @@ -6397,7 +6397,6 @@ rb_f_select(int argc, VALUE *argv, VALUE obj) } -#if !defined(MSDOS) static int io_cntl(int fd, int cmd, long narg, int io_p) { @@ -6417,12 +6416,10 @@ io_cntl(int fd, int cmd, long narg, int io_p) #endif return retval; } -#endif static VALUE rb_io_ctl(VALUE io, VALUE req, VALUE arg, int io_p) { -#if !defined(MSDOS) int cmd = NUM2ULONG(req); rb_io_t *fptr; long len = 0; @@ -6488,10 +6485,6 @@ rb_io_ctl(VALUE io, VALUE req, VALUE arg, int io_p) } return INT2NUM(retval); -#else - rb_notimplement(); - return Qnil; /* not reached */ -#endif } |