aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.cpp
diff options
context:
space:
mode:
authorJulian Fondren <jfondren@minimaltype.com>2022-10-17 22:32:10 -0500
committerJulian Fondren <jfondren@minimaltype.com>2022-10-17 22:32:10 -0500
commit9f55404845adb10a933cc725c019faa140efb202 (patch)
treea0d63ed863be19f0410e839c019638316e4dd909 /src/check_expr.cpp
parent075040ae057e48bb9df4cb03bc0ea39e98a804ad (diff)
fix core:c/libc.errno link_name for Linux and FreeBSD
Although the FreeBSD link matches Darwin, its EILSEQ still matches Linux. Confirmed with the following program: ```odin package main import "core:c/libc" main :: proc() { libc.printf("%d\n", libc.errno()^) // 0 _ = libc.fopen("nonexistent file", "r") libc.printf("%d\n", libc.errno()^) // 2 } ``` on Linux: Odin: dev-2022-10:075040ae OS: Manjaro Linux, Linux 5.10.147-1-MANJARO CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz RAM: 15953 MiB and FreeBSD: Odin: dev-2022-10:075040ae OS: FreeBSD: Unknown CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz RAM: 990 MiB FreeBSD uname -r: 13.0-RELEASE
Diffstat (limited to 'src/check_expr.cpp')
0 files changed, 0 insertions, 0 deletions