]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/delta/delta.c
build-sys: use #if Y instead of #ifdef Y everywhere
[thirdparty/systemd.git] / src / delta / delta.c
index b0689ffff77f38663043a0f654f00373126a5a02..605bea57bbe6dbc524e5e3f5feefe4aecc37448d 100644 (file)
@@ -49,7 +49,7 @@ static const char prefixes[] =
         "/usr/local/share\0"
         "/usr/lib\0"
         "/usr/share\0"
         "/usr/local/share\0"
         "/usr/lib\0"
         "/usr/share\0"
-#ifdef HAVE_SPLIT_USR
+#if HAVE_SPLIT_USR
         "/lib\0"
 #endif
         ;
         "/lib\0"
 #endif
         ;
@@ -392,7 +392,7 @@ static int enumerate_dir(
 }
 
 static int should_skip_prefix(const char* p) {
 }
 
 static int should_skip_prefix(const char* p) {
-#ifdef HAVE_SPLIT_USR
+#if HAVE_SPLIT_USR
         int r;
         _cleanup_free_ char *target = NULL;
 
         int r;
         _cleanup_free_ char *target = NULL;