aboutsummaryrefslogtreecommitdiff
path: root/src/check_type.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2019-10-01 20:38:50 +0100
committergingerBill <bill@gingerbill.org>2019-10-01 20:38:50 +0100
commit66ae4e5afc87e4804cf371b49cc68cbecf253373 (patch)
tree95d5bf66726b0a1823c30a21529ab92ae21a8b7f /src/check_type.cpp
parent218d1131e84c4c45da8b9796f46d52094df2962e (diff)
Change ODIN_OS string for osx from "osx" to "darwin" to allow for other platforms
Diffstat (limited to 'src/check_type.cpp')
-rw-r--r--src/check_type.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp
index 465c11731..9f5ed0ed3 100644
--- a/src/check_type.cpp
+++ b/src/check_type.cpp
@@ -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)