diff options
author | Harshavardhana <harsha@harshavardhana.net> | 2014-08-26 14:40:01 -0700 |
---|---|---|
committer | Harshavardhana <harsha@harshavardhana.net> | 2014-10-23 12:09:49 -0700 |
commit | 8ea1a4844975940013d8704f87ee137dcb27bfb5 (patch) | |
tree | 3bad71d3c5b305d669c8c5b995db791354660b9d /libglusterfs/src/compat.h | |
parent | 4b078cc079f221bb801988f1b5fed173ad40f9d6 (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/src/compat.h')
-rw-r--r-- | libglusterfs/src/compat.h | 2 |
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> |