engine: detect x86 architecture on MSVC

Apparently __x86_64__ is a Unix thing only.

Signed-off-by: Ronald Caesar <github43132@proton.me>
This commit is contained in:
Ronald Caesar
2026-06-07 13:10:24 -04:00
parent 53ed4e96cc
commit 4c7bbe4209
+1 -1
View File
@@ -36,7 +36,7 @@ extern "C"
#if defined(__aarch64__)
#define BAL_ARCHITECTURE_X86 0
#elif defined(__x86_64__)
#elif defined(__x86_64__) || defined(_M_X64)
#define BAL_ARCHITECTURE_ARM 0
#define BAL_ARCHITECTURE_X86 1