GNU/Hurd, like Mac OS X, is a BSD-based system. It should exclude has('bsd') feature just like what Mac OS X does. The __GNU__ pre-defined macro indicates it's compiling for GNU/Hurd.
Signed-off-by: Zhaoming Luo <zhming...@163.com> --- src/evalfunc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/evalfunc.c b/src/evalfunc.c index d81480b50..8e788eb3f 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -6409,7 +6409,7 @@ f_has(typval_T *argvars, typval_T *rettv) #endif }, {"bsd", -#if defined(BSD) && !defined(MACOS_X) +#if defined(BSD) && !defined(MACOS_X) && !defined(__GNU__) 1 #else 0 -- 2.47.2 -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/20250203084115.4480-2-zhmingluo%40163.com.