Skip to content

Commit

Permalink
Fix Windows CI build (#650)
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottslaughter authored Nov 21, 2023
1 parent 2cc1cd9 commit 4282b6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tcompiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
Expand Down

0 comments on commit 4282b6a

Please sign in to comment.