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 2c13ce9..5964a04 100644
--- a/tests/main.c
+++ b/tests/main.c
@@ -3,7 +3,7 @@
#include "lib.h"
#include "array.h"
-#if defined AL_HAVE_GNU_EXTENSIONS
+#ifdef AL_HAVE_GNU_EXTENSIONS
#include "array_typed.h"
#endif
#include "str.h"
@@ -15,7 +15,7 @@ s32 main(void)
if (!lib_tests_run()) goto fail;
if (!array_tests_run()) goto fail;
-#if defined AL_HAVE_GNU_EXTENSIONS
+#ifdef AL_HAVE_GNU_EXTENSIONS
if (!array_typed_tests_run()) goto fail;
#endif
if (!str_tests_run()) goto fail;