diff options
author | Autechre | 2021-03-06 21:23:42 +0100 |
---|---|---|
committer | GitHub | 2021-03-06 21:23:42 +0100 |
commit | 7fcd1e5e30952eacdf4245e6893d7c2fc8245297 (patch) | |
tree | 7ac42b4df1e7f2332f1a32c432dd12d685035874 /common.h | |
parent | cbcb5df7dae446944fc8c7e625b2bfbf921d7d69 (diff) | |
parent | 3d558413fd42078f112dfee4ccc2e3c36978923f (diff) | |
download | picogpsp-7fcd1e5e30952eacdf4245e6893d7c2fc8245297.tar.gz picogpsp-7fcd1e5e30952eacdf4245e6893d7c2fc8245297.tar.bz2 picogpsp-7fcd1e5e30952eacdf4245e6893d7c2fc8245297.zip |
Merge pull request #99 from davidgfnet/master
Fix x86 dynarec, broken by d10c4afe
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -31,6 +31,12 @@ #define PATH_SEPARATOR_CHAR '/' #endif +#ifdef X86_ARCH + #define function_cc __attribute__((regparm(2))) +#else + #define function_cc +#endif + #ifdef ARM_ARCH #define _BSD_SOURCE // sync |