]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/journal-util.c
build-sys: use #if Y instead of #ifdef Y everywhere
[thirdparty/systemd.git] / src / shared / journal-util.c
index 8479221a44749398c0f4d52be3eb16b8a74e3ef3..fff3dfc9d1364847c41a52ea913db8f4c84857ea 100644 (file)
@@ -28,7 +28,7 @@
 #include "user-util.h"
 
 static int access_check_var_log_journal(sd_journal *j) {
-#ifdef HAVE_ACL
+#if HAVE_ACL
         _cleanup_strv_free_ char **g = NULL;
         const char* dir;
 #endif
@@ -48,7 +48,7 @@ static int access_check_var_log_journal(sd_journal *j) {
         if (r > 0)
                 return 0;
 
-#ifdef HAVE_ACL
+#if HAVE_ACL
         if (laccess("/run/log/journal", F_OK) >= 0)
                 dir = "/run/log/journal";
         else