xfs
[Top] [All Lists]

[PATCH 14/14] xfsprogs: rename lstat64 to lstat for OS X

To: xfs@xxxxxxxxxxx
Subject: [PATCH 14/14] xfsprogs: rename lstat64 to lstat for OS X
From: Jan Tulak <jtulak@xxxxxxxxxx>
Date: Tue, 15 Sep 2015 11:59:24 +0200
Cc: Jan Tulak <jtulak@xxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1442311164-12921-1-git-send-email-jtulak@xxxxxxxxxx>
References: <1442311164-12921-1-git-send-email-jtulak@xxxxxxxxxx>
OS X has a different means to distinguish between
a 32 and 64bit calls - using xxx64 is deprecated.

Signed-off-by: Jan Tulak <jtulak@xxxxxxxxxx>
---
 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

<Prev in Thread] Current Thread [Next in Thread>