[PATCH/cygwin]: Explicitely undefine _WIN32

Glenn Maynard glenn at zewt.org
Sun Mar 18 01:07:06 EST 2012


On Sat, Mar 17, 2012 at 5:10 AM, Corinna Vinschen <vinschen at redhat.com>wrote:

> +/* Make sure _WIN32 isn't defined later in the code, otherwise headers
> from
> +   other packages might get the wrong idea about the target system. */
> +#ifdef _WIN32
> +#undef _WIN32
> +#endif
>

#undef for an undefined macro should be a no-op, so the #ifdef should be
unnecessary.

-- 
Glenn Maynard


More information about the openssh-unix-dev mailing list