mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-08-03 18:57:27 -04:00
Merge pull request #1362 from alarixnia/sparc
Fix build on NetBSD/sparc64
This commit is contained in:
commit
e25df6065c
@ -778,6 +778,9 @@ static void PrintRegisters(cc_string* str, void* ctx) {
|
||||
#define REG_GET_LR() &r->__gregs[_REG_LR]
|
||||
#define REG_GET_CTR() &r->__gregs[_REG_CTR]
|
||||
Dump_PPC()
|
||||
#elif defined __sparc__
|
||||
#define REG_GET(ign, reg) &r->__gregs[_REG_##reg]
|
||||
Dump_SPARC()
|
||||
#elif defined __mips__
|
||||
#define REG_GNUM(num) &r->__gregs[num]
|
||||
#define REG_GET_PC() &r->__gregs[_REG_EPC]
|
||||
|
Loading…
x
Reference in New Issue
Block a user