mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-09-07 16:54:28 +00:00
op_invoke*() symbols are expected to be in demangled form, i.e. "C" linkage
This commit is contained in:
parent
f887fb7bac
commit
c4a7b10650
@ -361,6 +361,7 @@ asm(".weak " #NAME); \
|
|||||||
asm(".set helper_" #NAME "," #NAME);
|
asm(".set helper_" #NAME "," #NAME);
|
||||||
#else
|
#else
|
||||||
#define DEFINE_OP(NAME, CODE) \
|
#define DEFINE_OP(NAME, CODE) \
|
||||||
|
extern "C" void OPPROTO NAME(void); \
|
||||||
void OPPROTO NAME(void) \
|
void OPPROTO NAME(void) \
|
||||||
{ \
|
{ \
|
||||||
CODE; \
|
CODE; \
|
||||||
|
Loading…
Reference in New Issue
Block a user