diff options
| author | gingerBill <bill@gingerbill.org> | 2017-10-15 12:11:33 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2017-10-15 12:11:33 +0100 |
| commit | 26ea8f6dcb4f49565817fa5a06187e228c8ee693 (patch) | |
| tree | 3e9d51e14740bd0d87f9e9f18f6ab22456842c67 /core/sys | |
| parent | e05fe1837de55741a009f7e35ee4ba6a0e13a1e6 (diff) | |
Syntax: Replace `foreign_system_library "kernel.lib"` to `foreign_library "system:kernel.lib"`; Remove keyword: `foreign_system_library`
Diffstat (limited to 'core/sys')
| -rw-r--r-- | core/sys/wgl.odin | 2 | ||||
| -rw-r--r-- | core/sys/windows.odin | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/core/sys/wgl.odin b/core/sys/wgl.odin index 1f2699458..e51c22d65 100644 --- a/core/sys/wgl.odin +++ b/core/sys/wgl.odin @@ -1,5 +1,5 @@ when ODIN_OS == "windows" { - foreign_system_library "opengl32.lib" + foreign_library "system:opengl32.lib" } using import "core:sys/windows.odin" diff --git a/core/sys/windows.odin b/core/sys/windows.odin index 59bf6141f..c3bb61a04 100644 --- a/core/sys/windows.odin +++ b/core/sys/windows.odin @@ -1,9 +1,9 @@ when ODIN_OS == "windows" { - foreign_system_library "kernel32.lib" - foreign_system_library "user32.lib" - foreign_system_library "gdi32.lib" - foreign_system_library "winmm.lib" - foreign_system_library "shell32.lib" + foreign_library "system:kernel32.lib" + foreign_library "system:user32.lib" + foreign_library "system:gdi32.lib" + foreign_library "system:winmm.lib" + foreign_library "system:shell32.lib" } Handle :: rawptr; |