From: <sl...@ke...> - 2008-10-27 08:41:17
|
CVS Root: /cvs/gstreamer Module: gst-plugins-good Changes by: slomo Date: Mon Oct 27 2008 08:40:16 UTC Log message: 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. Modified files: . : ChangeLog gst/udp : gstudpnetutils.h Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/ChangeLog.diff?r1=1.3772&r2=1.3773 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/gst/udp/gstudpnetutils.h.diff?r1=1.4&r2=1.5 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gst-plugins-good/ChangeLog,v retrieving revision 1.3772 retrieving revision 1.3773 diff -u -d -r1.3772 -r1.3773 --- ChangeLog 27 Oct 2008 08:36:41 -0000 1.3772 +++ ChangeLog 27 Oct 2008 08:40:00 -0000 1.3773 @@ -2,6 +2,14 @@ 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 <seb...@co...> + Patch by: <lrn1986 at gmail dot com> * gst/udp/gstdynudpsink.c: (gst_dynudpsink_render): * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_render): * gst/udp/gstudpsrc.c: (gst_udpsrc_create): Index: gstudpnetutils.h RCS file: /cvs/gstreamer/gst-plugins-good/gst/udp/gstudpnetutils.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- gstudpnetutils.h 21 May 2008 17:35:50 -0000 1.4 +++ gstudpnetutils.h 27 Oct 2008 08:40:02 -0000 1.5 @@ -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> |