Fix a typo in is_win_platform (#2490)

This commit is contained in:
Huang Qi 2023-08-22 11:50:11 +08:00 committed by GitHub
parent 7f996a4559
commit 051dfbbb9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ is_win_platform(AOTCompContext *comp_ctx)
{
char *triple = LLVMGetTargetMachineTriple(comp_ctx->target_machine);
bh_assert(trip);
bh_assert(triple);
if (strstr(triple, "win32") || strstr(triple, "win"))
return true;
return false;