| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH v2] xfsprogs: add nftw64 translation for OS X |
| From: | Jan Tulak <jtulak@xxxxxxxxxx> |
| Date: | Tue, 1 Sep 2015 10:04:32 +0200 |
| Cc: | hch@xxxxxxxxxxxxx, Jan Tulak <jtulak@xxxxxxxxxx> |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <20150831185944.GI349@xxxxxxxxxxxxx> |
| References: | <20150831185944.GI349@xxxxxxxxxxxxx> |
UPDATE: changed to #define
OS X has only nftw variant - not the 64 suffix used in xfs.
Signed-off-by: Jan Tulak <jtulak@xxxxxxxxxx>
---
include/darwin.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/darwin.h b/include/darwin.h
index 72d9c1d..f0f05b3 100644
--- a/include/darwin.h
+++ b/include/darwin.h
@@ -157,6 +157,8 @@ typedef int64_t xfs_daddr_t;
#define HAVE_FID 1
+#define nftw64 nftw
+
static __inline__ int
platform_discard_blocks(int fd, uint64_t start, uint64_t len)
{
--
2.4.3
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 07/11] xfsprogs: add nftw64 translation for OS X, Jan Tulak |
|---|---|
| Next by Date: | Re: [PATCH 02/11] xfsprogs: avoid dependency on linux XATTR_SIZE/LIST_MAX, Jan Tulak |
| Previous by Thread: | Re: [PATCH 07/11] xfsprogs: add nftw64 translation for OS X, Jan Tulak |
| Next by Thread: | Re: [PATCH v2] xfsprogs: add nftw64 translation for OS X, Darrick J. Wong |
| Indexes: | [Date] [Thread] [Top] [All Lists] |