vim-patch:9.0.1964: xattr support fails to build on MacOS X (#25448)

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: vim/vim#13230
closes: vim/vim#13232

a4dfbfed89

Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq 2023-10-01 06:08:47 +08:00 committed by GitHub
parent 386bc23e43
commit 248305cf37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,6 @@
#ifdef HAVE_XATTR
# include <sys/xattr.h>
# define XATTR_VAL_LEN 1024
#endif
#include "nvim/ascii.h"