Index: gst-libs/gst/xwindowlistener/xwindowlistener.c =================================================================== RCS file: /cvsroot/gstreamer/gst-plugins/gst-libs/gst/xwindowlistener/xwindowlistener.c,v retrieving revision 1.4 diff -u -p -r1.4 xwindowlistener.c --- gst-libs/gst/xwindowlistener/xwindowlistener.c 4 Dec 2003 10:37:35 -0000 1.4 +++ gst-libs/gst/xwindowlistener/xwindowlistener.c 19 Dec 2003 23:14:17 -0000 @@ -159,8 +159,11 @@ gst_x_window_listener_set_xid (GstXWindo * , it was relicensed to LGPL. */ -#define DEBUG(format, args...) \ - GST_DEBUG ("XWL: " format, ##args) +#ifdef G_HAVE_ISO_VARARGS +#define DEBUG(...) GST_DEBUG ("XWL: " __VA_ARGS__) +#else /* G_HAVE_GNUC_VARARGS */ +#define DEBUG(format, args...) GST_DEBUG ("XWL: " format, ##args) +#endif static void gst_xwin_set_overlay (GstXWindowListener *xwin,