Commit 68ece2fe authored by Avuton Olrich's avatar Avuton Olrich

Define winnt or greater on mingw32 to take advantage of get*info().

parent 4953ea90
......@@ -35,6 +35,7 @@
#include <assert.h>
#ifdef WIN32
#define WINVER 0x0501
#include <ws2tcpip.h>
#include <winsock.h>
#else
......
......@@ -28,6 +28,7 @@
#include <sys/socket.h>
#include <netdb.h>
#else /* G_OS_WIN32 */
#define WINVER 0x0501
#include <ws2tcpip.h>
#include <winsock.h>
#endif /* G_OS_WIN32 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment