about summary refs log tree commit diff stats
path: root/src/dynarec/dynacache_reloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dynarec/dynacache_reloc.c')
-rw-r--r--src/dynarec/dynacache_reloc.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dynarec/dynacache_reloc.c b/src/dynarec/dynacache_reloc.c
index d3d4fa0b..3184ad13 100644
--- a/src/dynarec/dynacache_reloc.c
+++ b/src/dynarec/dynacache_reloc.c
@@ -241,3 +241,11 @@ uintptr_t RelocGetNext()
 {
     return getConst(const_native_next);
 }
+
+#ifdef FAKE_GETCONST
+inline uintptr_t getConst(native_consts_t which)
+{
+    (void)which;
+    return 0; // dummy
+}
+#endif
\ No newline at end of file