aboutsummaryrefslogtreecommitdiff
path: root/tests/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test.c')
-rw-r--r--tests/test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test.c b/tests/test.c
index 513c060..bbf75b5 100644
--- a/tests/test.c
+++ b/tests/test.c
@@ -11,7 +11,8 @@ typedef void (*foo_func_t)(void);
#elif defined SUBHOOK_UNIX
#define FOO_CALL __attribute__((cdecl))
#endif
-#else
+#endif
+#ifndef FOO_CALL
#define FOO_CALL
#endif