Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix compilation on MinGW with -std=c99
commit 9223336 moved the CFLAGS="-std=c99" bit in configure.ac before the "socklen_t" test, which relies on #ifdef WIN32 to decide whether to include <ws2tcpip.h> or <sys/socket.h> - which is no longer defined then, and things explode in interesting ways. Change to _WIN32, which is the "always defined on all compilers" define for this. Signed-off-by: Gert Doering <gert@greenie.muc.de> Acked-by: Steffan Karger <steffan.karger@fox-it.com> Message-Id: <20161113193645.73523-1-gert@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg13032.html Signed-off-by: Gert Doering <gert@greenie.muc.de>
- Loading branch information