]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/smack-setup.c
build-sys: use #if Y instead of #ifdef Y everywhere
[thirdparty/systemd.git] / src / core / smack-setup.c
index 9f253643351f24d10898ee0fda5de5e6b5375930..be32c434235bc58e4a0a3163d8aa0912a8fefbd9 100644 (file)
@@ -36,7 +36,7 @@
 #include "string-util.h"
 #include "util.h"
 
-#ifdef HAVE_SMACK
+#if HAVE_SMACK
 
 static int write_access2_rules(const char* srcdir) {
         _cleanup_close_ int load2_fd = -1, change_fd = -1;
@@ -316,7 +316,7 @@ static int write_onlycap_list(void) {
 
 int mac_smack_setup(bool *loaded_policy) {
 
-#ifdef HAVE_SMACK
+#if HAVE_SMACK
 
         int r;