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
Laytan Laats
34aa326d99
put FILE in core:c and use that in bindings to fix wasm
2025-01-27 19:00:04 +01:00
gingerBill
1ae57d8d20
Fix more JS stuff
2024-09-22 13:32:28 +01:00
gingerBill
26d00925cc
Clean-up libc usage
2024-09-22 13:20:45 +01:00
Feoramund
981a2e1a00
Add missing io.Stream_Mode responses
2024-08-28 19:53:19 +02:00
Laytan Laats
efe68c2e24
posix: add package
2024-08-14 01:44:35 +02:00
Feoramund
ac9484206b
Fix STDIN, STDOUT, STDERR handles for BSDs
...
Tested on FreeBSD 14.0 and NetBSD 10.0
OpenBSD is untested, but link names were sourced from:
https://github.com/openbsd/src/blob/master/include/stdio.h
According to this, OpenBSD shares the same layout as NetBSD.
FreeBSD has the same as Darwin in this regard.
2024-06-02 19:29:27 -04:00
Andreas T Jonsson
dd95a8d11d
More std lib fixes
...
Just selecting the same codepath as other BSD's for the most part.
2024-04-19 10:42:09 +02:00
avanspector
b03f17dd8d
add haiku to base:runtime and core:c/libc
2024-02-25 02:59:45 +01:00
Laytan Laats
ce8801c37f
c/libc: add to_stream proc
...
Adds the `to_stream` procedure to `core:c/libc` to improve usability of
the core collection when you have to use libc.
2024-01-08 19:20:06 +01:00
reluctant-git-user
496765c043
Update stdio.odin
...
snprintf() prototype fix
2023-10-15 17:09:41 +03:00
gingerBill
35ee7f3cba
Add system:legacy_stdio_definitions.lib to .odin for Windows
2022-10-02 11:58:17 +01:00
gingerBill
f28547cae1
Fix libc.putchar
2022-07-14 11:56:05 +01:00
gingerBill
743a461aa9
Merge pull request #1614 from semarie/openbsd-fpos_t
...
use distinct type for fpos_t on OpenBSD
2022-03-14 11:11:29 +00:00
Sébastien Marie
ca67cf032c
freebsd_amd64 support
2022-03-13 11:42:42 +00:00
Sébastien Marie
f7c8b40ea2
use distinct type for fpos_t on OpenBSD
2022-03-12 09:40:55 +00:00
Sébastien Marie
5676c9e7eb
initial OpenBSD support
2022-02-25 08:49:25 +00:00
gingerBill
f5697dd7f2
Merge branch 'master' into odin-global-constants-as-enums
2022-02-15 15:47:24 +00:00
Dale Weiler
a5e1693774
Fix fread definition
2022-01-23 03:12:59 -05: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
99df0f1b12
libc changes: unify c and libc types; Add [^]T where appropriate
2021-09-10 15:41:51 +01: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