diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-19 12:28:14 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-01-19 12:28:14 +0000 |
commit | 224021104d13cbb060cdf87914361503226e4adf (patch) | |
tree | 031fbe4a5718e95bb0d6e6b9038542c5d6cf7fb9 /win32/win32.h | |
parent | 22c005569b8cd00ea6895dcc7b621b80d9f15068 (diff) | |
download | ruby-224021104d13cbb060cdf87914361503226e4adf.tar.gz |
* ext/digest/defs.h, win32/win3.c, win32/win32.h, file.c: remove
useless casts for Borland C.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/win32.h')
-rw-r--r-- | win32/win32.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/win32/win32.h b/win32/win32.h index 92dd59c169..7122ec9a20 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -57,7 +57,7 @@ extern "C++" { #include <signal.h> #include <sys/stat.h> #include <sys/types.h> -#if !defined(__BORLANDC__) +#ifdef HAVE_SYS_UTIME_H # include <sys/utime.h> #else # include <utime.h> @@ -188,7 +188,7 @@ extern pid_t rb_w32_getpid(void); #endif #endif -#ifdef __BORLANDC__ +#if 0 && defined __BORLANDC__ #undef S_ISDIR #undef S_ISFIFO #undef S_ISBLK @@ -240,9 +240,7 @@ extern pid_t rb_w32_getpid(void); // // stubs // -#if !defined(__BORLANDC__) -extern int ioctl (int, unsigned int, long); -#endif +extern int ioctl (int, int, ...); extern UIDTYPE getuid (void); extern UIDTYPE geteuid (void); extern GIDTYPE getgid (void); |