GNOME Bugzilla – Bug 544457
-bad doesn't compile with MSVC
Last modified: 2008-07-24 00:33:05 UTC
Patch to come: problematic plugins are modplug, festival, and sdp.
Created attachment 115134 [details] [review] Compile fixes for MSVC
Looks fine
2008-07-23 Michael Smith <msmith@songbirdnest.com> * gst/festival/gstfestival.c: Guard unistd.h with HAVE_UNISTD_H * gst/modplug/libmodplug/load_it.cpp: * gst/modplug/libmodplug/sndfile.cpp: * gst/modplug/libmodplug/sndfile.h: * gst/modplug/libmodplug/stdafx.h: Support for compiling with MSVC: use _MSC_VER for detecting MSVC instead of MSC_VER. Make CanPackSamples take the type it's passed. Change scope of a variable in load_it.cpp to MSVC's scoping rules. * gst/sdp/gstsdpdemux.c: Guard unistd.h with HAVE_UNISTD_H Fixes #544457.