summaryrefslogtreecommitdiffstats
path: root/src/feature.h
diff options
context:
space:
mode:
authorChristian Brabandt <cb@256bit.org>2023-09-30 18:51:36 +0200
committerChristian Brabandt <cb@256bit.org>2023-09-30 18:51:36 +0200
commita4dfbfed89e26a766e30cca62c18e710eec81c3f (patch)
tree85f7fdac18cd7975cb338d50ca59d58c0d7ea06e /src/feature.h
parent6de4e58cf27a3bb6e81653ca63b77e29d1bb46f2 (diff)
patch 9.0.1964: xattr support fails to build on MacOS Xv9.0.1964
Problem: xattr support fails to build on MacOS X Solution: Disable xattr support for MacOS X MacOS X uses the same headers and functions sys/xattr.h but the function signatures for xattr support are much different, so building fails. So let's for now disable xattr support there. closes: #13230 closes: #13232 Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/feature.h')
-rw-r--r--src/feature.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature.h b/src/feature.h
index b26dc6ccf1..5fcd727a9e 100644
--- a/src/feature.h
+++ b/src/feature.h
@@ -1177,9 +1177,9 @@
#endif
/*
- * XATTR support
+ * currently Unix only: XATTR support
*/
-#if defined(FEAT_NORMAL) && defined(HAVE_XATTR)
+#if defined(FEAT_NORMAL) && defined(HAVE_XATTR) && !defined(MACOS_X)
# define FEAT_XATTR
#endif