summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorHarshavardhana <harsha@harshavardhana.net>2014-08-26 14:40:01 -0700
committerHarshavardhana <harsha@harshavardhana.net>2014-10-23 12:09:49 -0700
commit8ea1a4844975940013d8704f87ee137dcb27bfb5 (patch)
tree3bad71d3c5b305d669c8c5b995db791354660b9d /libglusterfs
parent4b078cc079f221bb801988f1b5fed173ad40f9d6 (diff)
porting: OSX build fixes
- xml build - do not redefine AT_SYMLINK_FOLLOW Change-Id: I516b3713904a6bad946a30f76fe4821f2ac61fd3 BUG: 1130307 Signed-off-by: Harshavardhana <harsha@harshavardhana.net> Reviewed-on: http://review.gluster.org/8970 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/compat.h2
1 files changed, 2 insertions, 0 deletions
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 <sys/types.h>
#include <sys/un.h>