GNOME Bugzilla – Bug 544433
Some -good plugins aren't buildable with MSVC
Last modified: 2008-07-23 22:12:39 UTC
Patch to be attached.
Created attachment 115120 [details] [review] Build goom with msvc This patch: - includes <glib.h> in goom_config.h; this brings in glib's definition of inline (which is needed for msvc) - includes config.h so that we get HAVE_INTTYPES_H defines, and we use that as appropriate - drops local definition of gint*/guint*, since we're now including glib.h - removes an unused definition of MAX (glib defines it for something else)
Created attachment 115121 [details] [review] Fix udpsrc to build with MSVC EAFNOSUPPORT doesn't exist on win32; replace with WSAEAFNOSUPPORT and use WSASetLastError()
Created attachment 115123 [details] [review] Fix udpsrc on MSVC (version 2) There were some more instances of the same problem. This patch fixes them all, and also changes a snprintf() to g_snprintf().
2008-07-23 Michael Smith <msmith@songbirdnest.com> * gst/goom/convolve_fx.c: * gst/goom/filters.c: * gst/goom/goom_config.h: * gst/goom/goom_core.c: * gst/goom/goom_tools.h: Fix build with MSVC: include glib.h to define inline appropriately, use header guards where needed. * gst/udp/gstudpnetutils.c: * gst/udp/gstudpsrc.c: Fix build with MSVC: use WSA* constants/functions where appropriate, use g_snprintf rather than snprintf. Fixes #544433.