1 parent 1be481e commit 85f10ffCopy full SHA for 85f10ff
1 file changed
clink/app/src/utils/hook_setter.cpp
@@ -31,6 +31,7 @@ static bool use_verbose_hook_logging()
31
}
32
33
//------------------------------------------------------------------------------
34
+#if INCLUDE_DETOURS
35
static void* follow_jump(void* addr)
36
{
37
uint8* t = (uint8*)addr;
@@ -66,6 +67,7 @@ static void* follow_jump(void* addr)
66
67
LOG("Following jump to %p", dest);
68
return dest;
69
70
+#endif
71
72
73
static void write_addr(hookptr_t* where, hookptr_t to_write)
0 commit comments