summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2024-10-13 15:53:32 -0400
committerAndrew Opalach <andrew@akon.city> 2024-10-13 15:53:32 -0400
commit6c36b3da63ce0c0a4a2281d182f1b4de2e5bef69 (patch)
treec7f6b3a577a8960f1b9fb41d6fa04d57f7942e0d /tests
parente6710f5ad898b54a4ae74d57858ba1287f0ef8bf (diff)
downloadlibalabaster-6c36b3da63ce0c0a4a2281d182f1b4de2e5bef69.tar.gz
libalabaster-6c36b3da63ce0c0a4a2281d182f1b4de2e5bef69.tar.bz2
libalabaster-6c36b3da63ce0c0a4a2281d182f1b4de2e5bef69.zip
all: #ifdef -> #if defined
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'tests')
-rw-r--r--tests/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/main.c b/tests/main.c
index 1c8afe2..e263dd5 100644
--- a/tests/main.c
+++ b/tests/main.c
@@ -2,7 +2,7 @@
#include "lib.h"
#include "array.h"
-#ifdef AL_HAVE_GNU_EXTENSIONS
+#if defined AL_HAVE_GNU_EXTENSIONS
#include "array_typed.h"
#endif
#include "str.h"
@@ -12,7 +12,7 @@ s32 main(void)
{
if (!lib_tests_run()) goto fail;
if (!array_tests_run()) goto fail;
-#ifdef AL_HAVE_GNU_EXTENSIONS
+#if defined AL_HAVE_GNU_EXTENSIONS
if (!array_typed_tests_run()) goto fail;
#endif
if (!str_tests_run()) goto fail;