mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 01:48:00 +02:00
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
This commit is contained in:
parent
09aa69e015
commit
79aafc1931
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue