From 8ea1a4844975940013d8704f87ee137dcb27bfb5 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Tue, 26 Aug 2014 14:40:01 -0700 Subject: porting: OSX build fixes - xml build - do not redefine AT_SYMLINK_FOLLOW Change-Id: I516b3713904a6bad946a30f76fe4821f2ac61fd3 BUG: 1130307 Signed-off-by: Harshavardhana Reviewed-on: http://review.gluster.org/8970 Tested-by: Gluster Build System Reviewed-by: Kaleb KEITHLEY --- libglusterfs/src/compat.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libglusterfs/src') diff --git a/libglusterfs/src/compat.h b/libglusterfs/src/compat.h index 20d15c44e70..aae2bdb7e89 100644 --- a/libglusterfs/src/compat.h +++ b/libglusterfs/src/compat.h @@ -190,7 +190,9 @@ enum { #define le64toh(x) OSSwapLittleToHostInt64(x) #define UNIX_PATH_MAX 104 +#ifndef AT_SYMLINK_NOFOLLOW #define AT_SYMLINK_NOFOLLOW 0x100 +#endif #include #include -- cgit