diff options
author | Avuton Olrich <avuton@gmail.com> | 2010-03-21 18:27:29 -0700 |
---|---|---|
committer | Avuton Olrich <avuton@gmail.com> | 2010-03-21 18:45:32 -0700 |
commit | 68ece2fef3a8e3f6c29d72cda2d536cb8c446d51 (patch) | |
tree | ba72a82c2d27473d416a88819b599d8f976b8da4 /src/socket_util.c | |
parent | 4953ea90c2d631b8d6ebd449e819cece62134fa7 (diff) | |
download | mpd-68ece2fef3a8e3f6c29d72cda2d536cb8c446d51.tar.gz mpd-68ece2fef3a8e3f6c29d72cda2d536cb8c446d51.tar.xz mpd-68ece2fef3a8e3f6c29d72cda2d536cb8c446d51.zip |
Define winnt or greater on mingw32 to take advantage of get*info().
Diffstat (limited to '')
-rw-r--r-- | src/socket_util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/socket_util.c b/src/socket_util.c index 01733eb03..7895d3367 100644 --- a/src/socket_util.c +++ b/src/socket_util.c @@ -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 */ |