Skip to content

Commit

Permalink
fix build for ios/osx/android
Browse files Browse the repository at this point in the history
  • Loading branch information
akva2 committed Mar 21, 2018
1 parent 52f7525 commit 41ef56f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/Highly_Theoretical/Core/yam.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@

#ifndef _WIN32
#define __cdecl
#define __fastcall __attribute__((regparm(3)))
#if defined(__x86_64) || defined(__x86_64__) || defined(__i386) || defined(__i386__) || defined(i386) || defined(__i686) || defined(__i686__)
#define __fastcall __attribute__((regparm(3)))
#else
#define __fastcall
#endif
#endif

/* No dynarec for x86_64 yet */
Expand Down

0 comments on commit 41ef56f

Please sign in to comment.