Adapted the fstat/_fstat work-around to like the user boot loader build as well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7514 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -651,7 +651,7 @@ close(int fd)
|
|||||||
|
|
||||||
// ToDo: remove this kludge when possible
|
// ToDo: remove this kludge when possible
|
||||||
int
|
int
|
||||||
#ifdef fstat
|
#if defined(fstat) && !defined(main)
|
||||||
_fstat(int fd, struct stat *stat, size_t /*statSize*/)
|
_fstat(int fd, struct stat *stat, size_t /*statSize*/)
|
||||||
#else
|
#else
|
||||||
fstat(int fd, struct stat *stat)
|
fstat(int fd, struct stat *stat)
|
||||||
|
|||||||
Reference in New Issue
Block a user