Re: [Openvpn-devel] [PATCH] Fix compilation on MinGW with -std=c99

2016-11-13 Thread Steffan Karger
On 13-11-16 20:36, Gert Doering wrote: > commit 9223336a88bc moved the CFLAGS="-std=c99" bit in configure.ac > before the "socklen_t" test, which relies on #ifdef WIN32 to decide > whether to include or - which is no longer > defined then, and things explode in interesting ways. > > Change to

[Openvpn-devel] [PATCH] Fix compilation on MinGW with -std=c99

2016-11-13 Thread Gert Doering
commit 9223336a88bc moved the CFLAGS="-std=c99" bit in configure.ac before the "socklen_t" test, which relies on #ifdef WIN32 to decide whether to include or - which is no longer defined then, and things explode in interesting ways. Change to _WIN32, which is the "always defined on all