]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/locale/localed.c
build-sys: use #if Y instead of #ifdef Y everywhere
[thirdparty/systemd.git] / src / locale / localed.c
index b4798d674c76119b0f2cfe3fa38d7e8dd24ce570..3c0c167dcfa5dfac76e96f5a445d1773f19e3f2e 100644 (file)
@@ -22,7 +22,7 @@
 #include <string.h>
 #include <unistd.h>
 
-#ifdef HAVE_XKBCOMMON
+#if HAVE_XKBCOMMON
 #include <xkbcommon/xkbcommon.h>
 #include <dlfcn.h>
 #endif
@@ -429,7 +429,7 @@ static int method_set_vc_keyboard(sd_bus_message *m, void *userdata, sd_bus_erro
         return sd_bus_reply_method_return(m, NULL);
 }
 
-#ifdef HAVE_XKBCOMMON
+#if HAVE_XKBCOMMON
 
 _printf_(3, 0)
 static void log_xkb(struct xkb_context *ctx, enum xkb_log_level lvl, const char *format, va_list args) {