Re: [Openvpn-devel] [PATCH v2] Replace WIN32 by _WIN32

2016-11-14 Thread Steffan Karger
Hi, On 13-11-16 20:52, Gert Doering wrote: > With c99, "WIN32" is no longer automatically defined when (cross-)building > for Windows, and proper compilation relies on including , > before checking the macro. "_WIN32" is the official define that is > guaranteed to be defined by the compiler

[Openvpn-devel] [PATCH v2] Replace WIN32 by _WIN32

2016-11-13 Thread Gert Doering
With c99, "WIN32" is no longer automatically defined when (cross-)building for Windows, and proper compilation relies on including , before checking the macro. "_WIN32" is the official define that is guaranteed to be defined by the compiler itself, no includes are needed. So, mechanically change