[PATCH/cygwin]: Explicitely undefine _WIN32

Peter Stuge peter at stuge.se
Sat Mar 17 13:47:13 EST 2012


Corinna Vinschen wrote:
> +++ openbsd-compat/bsd-cygwin_util.h	16 Mar 2012 21:51:21 -0000
> @@ -37,6 +37,7 @@
>  #undef ERROR
>  
>  #include <windows.h>
> +#undef _WIN32
>  #include <sys/cygwin.h>
>  #include <io.h>

Maybe it needs to be guarded:

#ifdef _WIN32
#undef
#endif


//Peter


More information about the openssh-unix-dev mailing list