summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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;