mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
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.
This commit is contained in:
parent
cbec4b2d9d
commit
d956310612
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
|||
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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue