Harold Brenes
|
219b0fe535
|
Replace system:System.framework imports with system:System
This makes the linker work for both macOS and iOS targets
|
2025-07-13 15:45:21 -04:00 |
|
avanspector
|
5376d2a20b
|
fix haiku
|
2024-12-20 17:19:04 +01:00 |
|
gingerBill
|
26d00925cc
|
Clean-up libc usage
|
2024-09-22 13:20:45 +01:00 |
|
Laytan Laats
|
efe68c2e24
|
posix: add package
|
2024-08-14 01:44:35 +02:00 |
|
Andreas T Jonsson
|
07fc07822d
|
Added some libc bindings for NetBSD
|
2024-04-18 16:22:07 +02:00 |
|
avanspector
|
6c16860be6
|
fix runtime and libc
|
2024-02-25 03:43:41 +01:00 |
|
Julian Fondren
|
9f55404845
|
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
|
2022-10-17 22:32:10 -05:00 |
|
Sébastien Marie
|
5676c9e7eb
|
initial OpenBSD support
|
2022-02-25 08:49:25 +00:00 |
|
gingerBill
|
3d7d347192
|
Convert ODIN_OS and ODIN_ARCH to use enums rather than use strings
|
2022-01-20 19:56:05 +00:00 |
|
gingerBill
|
f09638318f
|
Add support for darwin to core:c/libc
|
2021-11-16 21:19:08 +00:00 |
|
gingerBill
|
0434281f73
|
Strip semicolons; Make odin strip-semicolon replace .. with ..= if used as a binary operator
|
2021-09-06 20:15:59 +01:00 |
|
vassvik
|
102d080a31
|
Fix core:c/libc Windows compilation errors by linking to the right libraries.
Fix some name typos and missing types in Windows.
Add explicit cast on MB_CUR_MAX
|
2021-08-28 13:27:41 +02:00 |
|
Dale Weiler
|
791d7f764b
|
cleanup
|
2021-08-22 10:05:27 -04:00 |
|
Dale Weiler
|
389b50f735
|
libc projection
|
2021-08-22 09:48:34 -04:00 |
|