]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/test/test-sigbus.c
build-sys: use #if Y instead of #ifdef Y everywhere
[thirdparty/systemd.git] / src / test / test-sigbus.c
index 7a4a8a6636cd3fd84614a1c3123e119856ca62e2..bcc08b226c8ff2516ce16d29f10b63efc650ba99 100644 (file)
@@ -22,7 +22,7 @@
 #include "fd-util.h"
 #include "sigbus.h"
 #include "util.h"
-#ifdef HAVE_VALGRIND_VALGRIND_H
+#if HAVE_VALGRIND_VALGRIND_H
 #include <valgrind/valgrind.h>
 #endif
 
@@ -32,7 +32,7 @@ int main(int argc, char *argv[]) {
         void *addr = NULL;
         uint8_t *p;
 
-#ifdef HAVE_VALGRIND_VALGRIND_H
+#if HAVE_VALGRIND_VALGRIND_H
         if (RUNNING_ON_VALGRIND)
                 return EXIT_TEST_SKIP;
 #endif