From dfaaa55199638cd56edb05b22b11730920cb653d Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 7 Aug 2001 00:21:40 +0000 Subject: * win32/win32.h: fix problems with BC++ (ruby-bugs#PR161). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ win32/win32.h | 8 +++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c21f777fc7..35c51fbc8c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Aug 7 09:10:32 2001 Usaku Nakamura + + * win32/win32.h: fix problems with BC++ (ruby-bugs#PR161). + Mon Aug 6 23:47:46 2001 Nobuyoshi Nakada * pack.c (pack_unpack): associates p/P strings once at diff --git a/win32/win32.h b/win32/win32.h index 0cd07eebcc..94c8bd7845 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -100,7 +100,11 @@ extern "C++" { #include #include #include -#include +#if !defined(__BORLANDC__) +# include +#else +# include +#endif #include #include @@ -248,7 +252,9 @@ extern int isnan(double); // // stubs // +#if !defined(__BORLANDC__) extern int ioctl (int, unsigned int, long); +#endif extern UIDTYPE getuid (void); extern UIDTYPE geteuid (void); extern GIDTYPE getgid (void); -- cgit v1.2.3