summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-internals.h
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2007-10-03 17:54:09 -0400
committerJohn (J5) Palmieri <johnp@redhat.com>2007-10-03 17:54:09 -0400
commit79aafc193176253454dd455a4cfc45a1a2e36c00 (patch)
tree92babfc6f2cc8c4af7d5bc844d1fd4e109594233 /dbus/dbus-internals.h
parent09aa69e0153e66326c6746ec7e4841567d44ccdb (diff)
fd.o bug #11678 Don't error out if compiler does not support vararg macros
* _dbus_verbose is the only function that does this so make it a noop if vararg macros are not supported * https://bugs.freedesktop.org/show_bug.cgi?id=11678
Diffstat (limited to 'dbus/dbus-internals.h')
-rw-r--r--dbus/dbus-internals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-internals.h b/dbus/dbus-internals.h
index 43a46b83..3e5f989d 100644
--- a/dbus/dbus-internals.h
+++ b/dbus/dbus-internals.h
@@ -97,7 +97,7 @@ dbus_bool_t _dbus_is_verbose_real (void);
# elif defined (HAVE_GNUC_VARARGS)
# define _dbus_verbose(format...)
# else
-# error "This compiler does not support varargs macros and thus verbose mode can't be disabled meaningfully"
+static void _dbus_verbose(const char * x,...) {;}
# endif
# define _dbus_verbose_reset()
# define _dbus_is_verbose() FALSE