Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Commit

Permalink
Forgot those fastcall (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
barbudreadmon committed Dec 6, 2017
1 parent 9bc8280 commit 8a7ccc2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/cpu/m68k/m68kconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,11 @@
#ifndef FASTCALL
#undef __fastcall
#define __fastcall
#else
#ifndef _MSC_VER
#undef __fastcall
#define __fastcall __attribute__((fastcall))
#endif
#endif

/* Reset callback */
Expand Down
5 changes: 5 additions & 0 deletions src/cpu/nec_intf.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
#ifndef FASTCALL
#undef __fastcall
#define __fastcall
#else
#ifndef _MSC_VER
#undef __fastcall
#define __fastcall __attribute__((fastcall))
#endif
#endif

#define V33_TYPE 0
Expand Down

0 comments on commit 8a7ccc2

Please sign in to comment.