From 7ae9b3c9741116fbf2e6d13e40410836e076a644 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 4 Feb 2015 15:16:34 +0000 Subject: bus_driver_check_caller_is_privileged: correct the DBUS_WIN case Bug: https://bugs.freedesktop.org/show_bug.cgi?id=88964 Reviewed-by: Ralf Habacker --- bus/driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bus/driver.c') diff --git a/bus/driver.c b/bus/driver.c index 793dbfb0..30764fec 100644 --- a/bus/driver.c +++ b/bus/driver.c @@ -134,7 +134,7 @@ bus_driver_check_caller_is_privileged (DBusConnection *connection, } return TRUE; -#elif DBUS_WIN +#elif defined(DBUS_WIN) char *windows_sid = NULL; dbus_bool_t ret = FALSE; -- cgit v1.2.3