diff options
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); |