[PATCH 14/14] xfsprogs: rename lstat64 to lstat for OS X
Jan Tulak
jtulak at redhat.com
Tue Sep 15 04:59:24 CDT 2015
OS X has a different means to distinguish between
a 32 and 64bit calls - using xxx64 is deprecated.
Signed-off-by: Jan Tulak <jtulak at redhat.com>
---
include/darwin.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/darwin.h b/include/darwin.h
index 16ead12..4ad2de1 100644
--- a/include/darwin.h
+++ b/include/darwin.h
@@ -224,6 +224,7 @@ static inline int timer_gettime (timer_t timerid, struct itimerspec *value)
#include <sys/ucred.h>
#include <errno.h>
#define statvfs64 statfs
+#define lstat64 lstat
#define _PATH_MOUNTED "/etc/mtab"
struct mntent
--
2.4.3
More information about the xfs
mailing list