Mercurial > hg > toybox
changeset 727:fb17cd078e63
Fix ancient glibc workaround to force fstatat64
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 01 Dec 2012 17:59:38 -0600 |
parents | 6617899e55f8 |
children | dfeb3daad8f3 |
files | lib/portability.h |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/portability.h Sat Dec 01 11:03:52 2012 -0600 +++ b/lib/portability.h Sat Dec 01 17:59:38 2012 -0600 @@ -44,7 +44,8 @@ #define AT_FDCWD -100 #define AT_SYMLINK_NOFOLLOW 0x100 #define AT_REMOVEDIR 0x200 -int fstatat(int dirfd, const char *pathname, void *buf, int flags); +#define fstatat fstatat64 +int fstatat64(int dirfd, const char *pathname, void *buf, int flags); int readlinkat(int dirfd, const char *pathname, char *buf, size_t bufsiz); char *stpcpy(char *dest, const char *src); #include <sys/stat.h>