Parent Directory
|
Revision Log
|
Patch
| revision 1.4 by gbeauche, Thu Jan 15 23:28:59 2004 UTC | revision 1.5 by gbeauche, Sun Jan 18 22:10:09 2004 UTC | |
|---|---|---|
| # | Line 112 bool ThunksInit(void) | Line 112 bool ThunksInit(void) |
| 112 | native_op[i].func = base + 8; | native_op[i].func = base + 8; |
| 113 | } | } |
| 114 | #else | #else |
| 115 | #if defined(__linux__) | #if defined(__linux__) || (defined(__APPLE__) && defined(__MACH__)) |
| 116 | #define DEFINE_NATIVE_OP(ID, FUNC) do { \ | #define DEFINE_NATIVE_OP(ID, FUNC) do { \ |
| 117 | uintptr base = SheepMem::Reserve(8); \ | uintptr base = SheepMem::Reserve(8); \ |
| 118 | WriteMacInt32(base + 0, (uint32)FUNC); \ | WriteMacInt32(base + 0, (uint32)FUNC); \ |
|
||||||||
| Christian Bauer">Christian Bauer | ViewVC Help |
| Powered by ViewVC 1.1.15 |