Change ODIN_OS string for osx from "osx" to "darwin" to allow for other platforms

This commit is contained in:
gingerBill
2019-10-01 20:38:50 +01:00
parent 218d1131e8
commit 66ae4e5afc
5 changed files with 313 additions and 14 deletions
+1 -1
View File
@@ -1915,7 +1915,7 @@ Type *type_to_abi_compat_param_type(gbAllocator a, Type *original_type, ProcCall
}
}
} else if (build_context.ODIN_OS == "linux" ||
build_context.ODIN_OS == "osx") {
build_context.ODIN_OS == "darwin") {
Type *bt = core_type(original_type);
switch (bt->kind) {
// Okay to pass by value (usually)