diff --git a/src/codegen/codegen_x86-64.c b/src/codegen/codegen_x86-64.c index 4289235fe..4ba66d76b 100644 --- a/src/codegen/codegen_x86-64.c +++ b/src/codegen/codegen_x86-64.c @@ -281,7 +281,7 @@ void codegen_block_start_recompile(codeblock_t *block) block->status = cpu_cur_status; block_pos = BLOCK_GPF_OFFSET; -#ifdef OLD_GPF +#ifndef NEW_GPF #if _WIN64 addbyte(0x48); /*XOR RCX, RCX*/ addbyte(0x31); diff --git a/src/codegen/codegen_x86-64.h b/src/codegen/codegen_x86-64.h index 1ef81ff89..034b17355 100644 --- a/src/codegen/codegen_x86-64.h +++ b/src/codegen/codegen_x86-64.h @@ -8,7 +8,7 @@ #define HASH(l) ((l) & 0x1ffff) #define BLOCK_EXIT_OFFSET 0x7e0 -#ifdef OLD_GPF +#ifndef NEW_GPF #define BLOCK_GPF_OFFSET (BLOCK_EXIT_OFFSET - 20) #else #define BLOCK_GPF_OFFSET (BLOCK_EXIT_OFFSET - 12)