diff options
author | John (J5) Palmieri <johnp@redhat.com> | 2007-10-03 17:54:09 -0400 |
---|---|---|
committer | John (J5) Palmieri <johnp@redhat.com> | 2007-10-03 17:54:09 -0400 |
commit | 79aafc193176253454dd455a4cfc45a1a2e36c00 (patch) | |
tree | 92babfc6f2cc8c4af7d5bc844d1fd4e109594233 /dbus | |
parent | 09aa69e0153e66326c6746ec7e4841567d44ccdb (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')
-rw-r--r-- | dbus/dbus-internals.h | 2 |
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 |