Mercurial > vim
changeset 33412:ac02f2b5e9e2 v9.0.1964
patch 9.0.1964: xattr support fails to build on MacOS X
Commit: https://github.com/vim/vim/commit/a4dfbfed89e26a766e30cca62c18e710eec81c3f
Author: Christian Brabandt <cb@256bit.org>
Date: Sat Sep 30 18:51:36 2023 +0200
patch 9.0.1964: xattr support fails to build on MacOS X
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>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 30 Sep 2023 19:00:03 +0200 |
parents | ce46db7b64bf |
children | 878faa80c1be |
files | src/feature.h src/os_unix.c src/version.c |
diffstat | 3 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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