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>
This commit is contained in:
Harshavardhana 2014-10-19 12:42:05 -07:00
parent 56caf4349c
commit 0386f0a51e

View File

@ -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>