From 970bc59e40dd2a0621508c569c17ca6469ffb43b Mon Sep 17 00:00:00 2001 From: gbeauche <> Date: Sun, 21 Nov 2004 20:50:51 +0000 Subject: [PATCH] fix build without dyngen enabled --- SheepShaver/src/kpx_cpu/src/cpu/jit/jit-config.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SheepShaver/src/kpx_cpu/src/cpu/jit/jit-config.hpp b/SheepShaver/src/kpx_cpu/src/cpu/jit/jit-config.hpp index 9ec503a6..7b79b53b 100644 --- a/SheepShaver/src/kpx_cpu/src/cpu/jit/jit-config.hpp +++ b/SheepShaver/src/kpx_cpu/src/cpu/jit/jit-config.hpp @@ -40,9 +40,11 @@ * registers. **/ +#if ENABLE_DYNGEN #ifndef DYNGEN_ASM_OPTS #define DYNGEN_ASM_OPTS 0 #endif +#endif /** * DYNGEN_DIRECT_BLOCK_CHAINING @@ -51,9 +53,11 @@ * that feature. e.g. PowerPC. **/ +#if ENABLE_DYNGEN #ifndef DYNGEN_DIRECT_BLOCK_CHAINING #define DYNGEN_DIRECT_BLOCK_CHAINING 1 #endif +#endif /** * Helpers to reach JIT backends headers