aboutsummaryrefslogtreecommitdiff
path: root/tests/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test.cpp')
-rw-r--r--tests/test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test.cpp b/tests/test.cpp
index 7ba167a..30b7ca4 100644
--- a/tests/test.cpp
+++ b/tests/test.cpp
@@ -7,7 +7,7 @@ typedef void (*foo_func_t)();
#ifdef SUBHOOK_X86
#if defined SUBHOOK_WINDOWS
#define FOO_CALL __cdecl
- #elif defined SUBHOOK_UNIX
+ #elif defined SUBHOOK_UNIX || defined SUBHOOK_APPLE
#define FOO_CALL __attribute__((cdecl))
#endif
#endif