This should fix the R5 build again.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7511 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-05-10 23:00:42 +00:00
parent 1208ac278f
commit 071c01b136

View File

@ -102,9 +102,16 @@ extern int mkfifo(const char *path, mode_t mode);
extern mode_t umask(mode_t cmask);
// This achieves backwards compatibility with R5
#if 0
#define stat(fd, st) _stat(fd, st, sizeof(struct stat))
#define fstat(fd, st) _fstat(fd, st, sizeof(struct stat))
#define lstat(fd, st) _lstat(fd, st, sizeof(struct stat))
#else
// ... and this fixes the build for R5 for now
extern int stat(const char *path, struct stat *st);
extern int fstat(int fd, struct stat *st);
extern int lstat(const char *path, struct stat *st);
#endif
#ifdef __cplusplus
}