From 0386f0a51e7e445c66bedc7472037e22066eb66a Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Sun, 19 Oct 2014 12:42:05 -0700 Subject: libglusterfs: Do not redefine AT_SYMLINK_NOFOLLOW on Darwin Change-Id: I6c31b0a01da4b2ad05d4df67418e917c2774faa9 BUG: 1089172 Signed-off-by: Harshavardhana Reviewed-on: http://review.gluster.org/8943 Tested-by: Gluster Build System Reviewed-by: Kaleb KEITHLEY --- libglusterfs/src/compat.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libglusterfs') diff --git a/libglusterfs/src/compat.h b/libglusterfs/src/compat.h index 20d15c44e70..1522257dffe 100644 --- a/libglusterfs/src/compat.h +++ b/libglusterfs/src/compat.h @@ -190,7 +190,10 @@ enum { #define le64toh(x) OSSwapLittleToHostInt64(x) #define UNIX_PATH_MAX 104 +/* OSX Yosemite now has this defined */ +#ifndef AT_SYMLINK_NOFOLLOW #define AT_SYMLINK_NOFOLLOW 0x100 +#endif #include #include -- cgit