HAVE_DECL_LOG_PERROR is 0 when unavailable

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=39987
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
This commit is contained in:
Dagobert Michelsen 2013-04-03 12:38:38 +02:00 committed by Simon McVittie
parent 751f6783c4
commit ee49d0672a

View file

@ -433,7 +433,7 @@ _dbus_init_system_log (void)
#ifdef HAVE_SYSLOG_H
int logopts = LOG_PID;
#ifdef HAVE_DECL_LOG_PERROR
#if HAVE_DECL_LOG_PERROR
#ifdef HAVE_SYSTEMD
if (sd_booted () <= 0)
#endif