From 259818b6a80f03b259677bb2002da79d6468c3b0 Mon Sep 17 00:00:00 2001 From: Elliott Slaughter Date: Tue, 21 Nov 2023 09:47:41 -0800 Subject: [PATCH] Attempt to fix Windows CI build. --- src/tcompiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tcompiler.cpp b/src/tcompiler.cpp index 592b62dc..abf13ac6 100644 --- a/src/tcompiler.cpp +++ b/src/tcompiler.cpp @@ -242,7 +242,7 @@ int terra_inittarget(lua_State *L) { else TT->CPU = llvm::sys::getHostCPUName().str(); -#ifdef __x86_64__ +#if defined(__x86_64__) || defined(_WIN32) if (TT->CPU == "generic") { TT->CPU = "x86-64"; }