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

* 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
This commit is contained in:
usa 2001-08-07 00:21:40 +00:00
parent f141f2e543
commit dfaaa55199
2 changed files with 11 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Tue Aug 7 09:10:32 2001 Usaku Nakamura <usa@ruby-lang.org>
* win32/win32.h: fix problems with BC++ (ruby-bugs#PR161).
Mon Aug 6 23:47:46 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* pack.c (pack_unpack): associates p/P strings once at

View file

@ -100,7 +100,11 @@ extern "C++" {
#include <math.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/utime.h>
#if !defined(__BORLANDC__)
# include <sys/utime.h>
#else
# include <utime.h>
#endif
#include <io.h>
#include <malloc.h>
@ -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);