Commit d9563106 authored by Sebastian Dröge's avatar Sebastian Dröge

gst/udp/gstudpnetutils.h: Define the correct WINVER so getaddinfo() can be...

gst/udp/gstudpnetutils.h: Define the correct WINVER so getaddinfo() can be used when using mingw32. Fixes bug #557294.

Original commit message from CVS:
Patch by: <lrn1986 at gmail dot com>
* gst/udp/gstudpnetutils.h:
Define the correct WINVER so getaddinfo() can be used when using
mingw32. Fixes bug #557294.
parent cbec4b2d
2008-10-27 Sebastian Dröge <sebastian.droege@collabora.co.uk>
Patch by: <lrn1986 at gmail dot com>
* gst/udp/gstudpnetutils.h:
Define the correct WINVER so getaddinfo() can be used when using
mingw32. Fixes bug #557294.
2008-10-27 Sebastian Dröge <sebastian.droege@collabora.co.uk>
Patch by: <lrn1986 at gmail dot com>
......
......@@ -27,6 +27,9 @@
#include <glib.h>
#ifdef G_OS_WIN32
/* ws2_32.dll has getaddrinfo and freeaddrinfo on Windows XP and later.
* minwg32 headers check WINVER before allowing the use of these */
#define WINVER 0x0501
#include <winsock2.h>
#include <ws2tcpip.h>
......
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