[PATCH 08/14] xfsprogs: Remove conflicting define for OS X

Jan Tulak jtulak at redhat.com
Tue Sep 15 04:59:18 CDT 2015


ENOATTR already exists in OS X.

Signed-off-by: Jan Tulak <jtulak at redhat.com>
Reviewed-by: Christoph Hellwig <hch at lst.de>
---
 include/darwin.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/darwin.h b/include/darwin.h
index 78f7df3..1409c91 100644
--- a/include/darwin.h
+++ b/include/darwin.h
@@ -156,7 +156,6 @@ typedef int64_t		xfs_daddr_t;
 #define O_SYNC          0
 #endif
 
-#define ENOATTR		989     /* Attribute not found */
 #define EFSCORRUPTED	990	/* Filesystem is corrupted */
 #define EFSBADCRC	991	/* Bad CRC detected */
 #define constpp		char * const *
-- 
2.4.3



More information about the xfs mailing list