On 2022-05-21, ichizok wrote:
> And, in f_has(),
> 
> #if (defined(UNIX) || defined(VMS)) \
> 
>      && (!defined(MACOS_X) || defined(HAVE_CONFIG_H)) \
> 
>      && defined(HAVE_SYS_UTSNAME_H)
> 
> WSL is on Linux so I think all need is checking only #if defined(__linux__) &&
> defined(HAVE_SYS_UTSNAME_H).

If Vim doesn't need to know that it's on WSL, whether when being
built or being run, then it shouldn't know.  WSL should look like
any other Linux system, so Vim shouldn't care whether it's on WSL or
not.  It's up to the user to figure out what flavor of operating
system they're using, if they care.  The $OSTYPE environment
variable is good for that.

Regards,
Gary

-- 
-- 
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 on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220521204017.GA2386%40phoenix.

Raspunde prin e-mail lui