about summary refs log tree commit diff stats
path: root/src/dynarec/dynacache_reloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dynarec/dynacache_reloc.h')
-rw-r--r--src/dynarec/dynacache_reloc.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/dynarec/dynacache_reloc.h b/src/dynarec/dynacache_reloc.h
index 904788ea..dc86d8ac 100644
--- a/src/dynarec/dynacache_reloc.h
+++ b/src/dynarec/dynacache_reloc.h
@@ -13,11 +13,8 @@ typedef enum native_consts_s {
     const_native_next,
     const_last
 } native_consts_t;
-inline uintptr_t getConst(native_consts_t which)
-{
-    (void)which;
-    return 0; // dummy
-}
+#define FAKE_GETCONST
+uintptr_t getConst(native_consts_t which);
 #endif
 
 void AddRelocTable64Const(dynarec_native_t* dyn, int ninst, native_consts_t C, int pass);