]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
platform: rename lstat64 to lstat for OS X
authorJan Tulak <jtulak@redhat.com>
Tue, 13 Oct 2015 23:58:24 +0000 (10:58 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 13 Oct 2015 23:58:24 +0000 (10:58 +1100)
OS X has a different means to distinguish between
a 32 and 64bit calls - using xxx64 is deprecated.

Signed-off-by: Jan Tulak <jtulak@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
include/darwin.h

index 8b769d9feca4c790778831ebcb3deba485ff1abd..6c6e547eb7c8cddfbb3051e70b50a288cf9b6f33 100644 (file)
@@ -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__ */