Rename jmp_buf due to a name collision in STD
This commit is contained in:
parent
84801ecdc7
commit
5eb32764a5
4 changed files with 79 additions and 67 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include "dolphin.h"
|
||||
|
||||
typedef struct jump_buf {
|
||||
typedef struct JMPBUF {
|
||||
u32 lr;
|
||||
u32 cr;
|
||||
u32 sp;
|
||||
|
|
@ -11,9 +11,9 @@ typedef struct jump_buf {
|
|||
u32 pad;
|
||||
u32 regs[19];
|
||||
double flt_regs[19];
|
||||
} jmp_buf;
|
||||
} JMPBUF;
|
||||
|
||||
s32 gcsetjmp(jmp_buf *jump);
|
||||
s32 gclongjmp(jmp_buf *jump, s32 status);
|
||||
s32 gcsetjmp(JMPBUF *jump);
|
||||
s32 gclongjmp(JMPBUF *jump, s32 status);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue