diff options
author | Harshavardhana <harsha@harshavardhana.net> | 2014-10-19 12:42:05 -0700 |
---|---|---|
committer | Harshavardhana <harsha@harshavardhana.net> | 2014-10-23 12:08:16 -0700 |
commit | 0386f0a51e7e445c66bedc7472037e22066eb66a (patch) | |
tree | 16dc97d07f2585438c1cfed4e669dbf9690d3575 /libglusterfs/src | |
parent | 56caf4349c8824fde70783fe404cc6f646dce149 (diff) |
libglusterfs: Do not redefine AT_SYMLINK_NOFOLLOW on Darwin
Change-Id: I6c31b0a01da4b2ad05d4df67418e917c2774faa9
BUG: 1089172
Signed-off-by: Harshavardhana <harsha@harshavardhana.net>
Reviewed-on: http://review.gluster.org/8943
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'libglusterfs/src')
-rw-r--r-- | libglusterfs/src/compat.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 <sys/types.h> #include <sys/un.h> |