GNOME Bugzilla – Bug 501419
gstsdpmessage.c uses getaddrinfo
Last modified: 2008-10-13 01:28:00 UTC
The recent change (r1.4) to gst-plugins-base/gst-libs/gst/sdp/gstsdpmessage.c uses struct addrinfo, getaddrinfo(), and company. These are not available on all platforms, among them namely Cygwin, as well as Windows before XP. Could a portable solution be added or substituted?
This patch makes it conpile on mingw32 but does not really give a portable substitute yet. Patch by: Damien Lespiau <damien dot lespiau at gmail dot com> * gst-libs/gst/sdp/gstsdpmessage.c: Makes libgstsdp compile with mingw32 by defining the right WINVER so that getaddrinfo() can be used. Fixes #541358.
Next version of Cygwin will have getaddrinfo() and friends. Closing.