tests/checkasm: fix check for 32-bit Windows build

With --disable-asm, ARCH_X86_32 is set to 0, but we still build the
checkasm binary. Update the check so it is config.h agnostic.

Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
This commit is contained in:
Kacper Michajłow
2025-11-30 07:38:31 +01:00
parent 3beaa2d70f
commit 17456c553e

View File

@@ -44,7 +44,7 @@
#ifdef _WIN32
#include <windows.h>
#if ARCH_X86_32
#if defined(__i386__) || defined(_M_IX86)
#include <setjmp.h>
typedef jmp_buf checkasm_context;
#define checkasm_save_context() checkasm_handle_signal(setjmp(checkasm_context_buf))