Darwin function descriptors act as Linux ones

This commit is contained in:
gbeauche 2004-01-18 22:10:09 +00:00
parent 04e7fcf5d3
commit 384648a740

View File

@ -112,7 +112,7 @@ bool ThunksInit(void)
native_op[i].func = base + 8;
}
#else
#if defined(__linux__)
#if defined(__linux__) || (defined(__APPLE__) && defined(__MACH__))
#define DEFINE_NATIVE_OP(ID, FUNC) do { \
uintptr base = SheepMem::Reserve(8); \
WriteMacInt32(base + 0, (uint32)FUNC); \