diff options
Diffstat (limited to 'src/check_type.cpp')
| -rw-r--r-- | src/check_type.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp index e6e12ab1b..85c425ad4 100644 --- a/src/check_type.cpp +++ b/src/check_type.cpp @@ -2423,7 +2423,7 @@ bool abi_compat_return_by_pointer(gbAllocator a, ProcCallingConvention cc, Type } } - if (build_context.ODIN_OS == "windows") { + if (build_context.ODIN_OS == "windows" || build_context.ODIN_OS == "linux" ) { i64 size = 8*type_size_of(abi_return_type); switch (size) { case 0: |