From: Jan Tulak Date: Tue, 13 Oct 2015 23:58:24 +0000 (+1100) Subject: platform: rename lstat64 to lstat for OS X X-Git-Tag: v4.3.0-rc1~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9776e844681e48f1ed4a82742e33463f2b08deec;p=thirdparty%2Fxfsprogs-dev.git platform: rename lstat64 to lstat for OS X OS X has a different means to distinguish between a 32 and 64bit calls - using xxx64 is deprecated. Signed-off-by: Jan Tulak Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- diff --git a/include/darwin.h b/include/darwin.h index 8b769d9fe..6c6e547eb 100644 --- a/include/darwin.h +++ b/include/darwin.h @@ -220,6 +220,7 @@ static inline int timer_gettime (timer_t timerid, struct itimerspec *value) /* FSR */ #define statvfs64 statfs +#define lstat64 lstat #define _PATH_MOUNTED "/etc/mtab" #endif /* __XFS_DARWIN_H__ */