Fix remaining -Wundef warnings
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 10 Oct 2016 14:07:34 +0000 (15:07 +0100)
committerSimon McVittie <smcv@debian.org>
Thu, 13 Oct 2016 16:20:38 +0000 (17:20 +0100)
commitb6caf69d469a4dae8bed2092cc5e32d25192ecf4
treef5c1014469ef959cf9e053787a85f07700884ca4
parent47f14b8e3b5e676ac8accadf5a7d614b95bf6e1d
Fix remaining -Wundef warnings

Vaguely based on a patch from Thomas Zimmermann, but with a different
solution to RECURSIVE_MARSHAL_WRITE_TRACE, and additionally fixing
a build failure that only occurs when targeting Unix without libsystemd,
and another that occurs when targeting Windows.

Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Thomas Zimmermann <tdz@users.sourceforge.net>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=97357
dbus/dbus-marshal-recursive-util.c
dbus/dbus-sysdeps-win.c
dbus/dbus-userdb-util.c
test/test-segfault.c