mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user