On Mon, 03 Feb 2025, Zhaoming Luo wrote:
> 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 <[email protected]>
> ---
> 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
Thanks. I saw your PR and that one has been included now. Sorry for not
letting your message through, Google did not notify me of the pending
approval until today.
Thanks,
Christian
--
"In short, _ N is Richardian if, and only if, _ N is not Richardian."
--
--
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 [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/Z6XjrO9RFno9aNlv%40256bit.org.