Skip to content

Commit

Permalink
Attempt to fix Windows CI build.
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottslaughter committed Nov 21, 2023
1 parent 2cc1cd9 commit 259818b
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 259818b

Please sign in to comment.