Fix typos and make demo work with -vet

This commit is contained in:
gingerBill
2019-10-08 20:28:45 +01:00
parent 71b32ae117
commit 1b8c3ca22a
5 changed files with 10 additions and 9 deletions
+4 -2
View File
@@ -2016,8 +2016,10 @@ Type *type_to_abi_compat_result_type(gbAllocator a, Type *original_type, ProcCal
break;
}
}
} else if (build_context.ODIN_OS == "linux") {
} else if (build_context.ODIN_OS == "linux" || build_context.ODIN_OS == "darwin") {
if (build_context.ODIN_ARCH == "amd64") {
}
} else {
// IMPORTANT TODO(bill): figure out the ABI settings for Linux, OSX etc. for
// their architectures