diff options
| author | gingerBill <bill@gingerbill.org> | 2022-10-02 11:58:17 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-10-02 11:58:17 +0100 |
| commit | 35ee7f3cba3d08e76241b5baf8a1c41848749855 (patch) | |
| tree | 714f410dde4e8a99131ea1f26c717f27cf925fba | |
| parent | 4c2e86b0632cf14bfb1957aef67b420a12cd797d (diff) | |
Add `system:legacy_stdio_definitions.lib` to `.odin` for Windows
| -rw-r--r-- | core/c/libc/stdio.odin | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/c/libc/stdio.odin b/core/c/libc/stdio.odin index 9b1089d85..1b41c5560 100644 --- a/core/c/libc/stdio.odin +++ b/core/c/libc/stdio.odin @@ -1,7 +1,10 @@ package libc when ODIN_OS == .Windows { - foreign import libc "system:libucrt.lib" + foreign import libc { + "system:libucrt.lib", + "system:legacy_stdio_definitions.lib", + } } else when ODIN_OS == .Darwin { foreign import libc "system:System.framework" } else { |