GNOME Bugzilla – Bug 623128
Some network plugins do not work on Windows 2000
Last modified: 2012-05-24 16:45:40 UTC
Created attachment 164882 [details] [review] Patch to include WSPiApi.h on some plugins and libraries. Some network libraries and plugins rely on symbols of WS2_32.DLL (namely getaddrinfo and freeaddrinfo) which only exist on Windows XP and later. The inclusion of WSPiApi.h (present in the Windows SDK) allows these plugins to also work on the older Windows 2000. The provided patch fixes: gst-plugins-base/gst-libs/gst/rtsp gst-plugins-base/gst-libs/gst/sdp gst-plugins-good/gst/udp gst-plugins-bad/gst/sdp The mechanism is explained in this MSDN article: http://msdn.microsoft.com/en-us/library/ms738520(VS.85).aspx Section "Support for getaddrinfo on Windows 2000 and older versions "
Hrm, sorry for letting this rather simple-looking patch sit in bugzilla for so long. However, at this point I think it's probably best to just drop this. I believe the GLib folks have since made a choice to not support such old Windows versions any more, so even if we committted it now, the situation would probably not be great. (And who knows what other code of ours added since would need to be updated as well). In 0.11/1.0 a lot of network functionality has been ported to GLib's gio network stack, so fixing things in GLib for that is the right approach.