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