From 384648a740405a4a3894f32a000c5d44b8175d7c Mon Sep 17 00:00:00 2001 From: gbeauche <> Date: Sun, 18 Jan 2004 22:10:09 +0000 Subject: [PATCH] Darwin function descriptors act as Linux ones --- SheepShaver/src/thunks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SheepShaver/src/thunks.cpp b/SheepShaver/src/thunks.cpp index 7c490e82..8a35216a 100644 --- a/SheepShaver/src/thunks.cpp +++ b/SheepShaver/src/thunks.cpp @@ -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); \