From 4c3c8f6f108d324168058af3100d013497184956 Mon Sep 17 00:00:00 2001 From: Brian Cameron Date: Wed, 21 May 2003 18:16:30 +0000 Subject: Corrected the configure.ac so it actually works. Updated some c files so that they build on Solaris. This mostly in... Original commit message from CVS: Corrected the configure.ac so it actually works. Updated some c files so that they build on Solaris. This mostly involved supporting ISO style variable-argument macros. --- gst-libs/gst/riff/riffutil.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gst-libs/gst/riff/riffutil.c') diff --git a/gst-libs/gst/riff/riffutil.c b/gst-libs/gst/riff/riffutil.c index e4c134fb..f754f755 100644 --- a/gst-libs/gst/riff/riffutil.c +++ b/gst-libs/gst/riff/riffutil.c @@ -21,8 +21,16 @@ #include /*#define debug(format,args...) g_print(format,##args) */ + +#ifdef G_HAVE_ISO_VARARGS + +#define debug(format,...) + +#elif defined(G_HAVE_GNUC_VARARGS) + #define debug(format,args...) +#endif gulong gst_riff_fourcc_to_id(gchar *fourcc) { g_return_val_if_fail(fourcc != NULL, 0); -- cgit v1.2.1