mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:36:20 +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>
|
2008-10-27 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||||
|
|
||||||
Patch by: <lrn1986 at gmail dot com>
|
Patch by: <lrn1986 at gmail dot com>
|
||||||
|
|
|
@ -27,6 +27,9 @@
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
#ifdef G_OS_WIN32
|
#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 <winsock2.h>
|
||||||
#include <ws2tcpip.h>
|
#include <ws2tcpip.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue