mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-03 14:18:47 +00:00
Replace import_load with using import .
This commit is contained in:
+3
-5
@@ -1,8 +1,6 @@
|
||||
import_load (
|
||||
"os_windows.odin" when ODIN_OS == "windows";
|
||||
"os_x.odin" when ODIN_OS == "osx";
|
||||
"os_linux.odin" when ODIN_OS == "linux";
|
||||
)
|
||||
using import . "os_windows.odin" when ODIN_OS == "windows";
|
||||
using import . "os_x.odin" when ODIN_OS == "osx";
|
||||
using import . "os_linux.odin" when ODIN_OS == "linux";
|
||||
|
||||
write_string :: proc(fd: Handle, str: string) -> (int, Errno) {
|
||||
return write(fd, cast([]u8)str);
|
||||
|
||||
Reference in New Issue
Block a user