mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 14:48:47 +00:00
import and import_load as keywords; Fix procedure literal call trick
This commit is contained in:
+3
-3
@@ -1,6 +1,6 @@
|
||||
#load "os_windows.odin" when ODIN_OS == "windows";
|
||||
#load "os_x.odin" when ODIN_OS == "osx";
|
||||
#load "os_linux.odin" when ODIN_OS == "linux";
|
||||
import_load "os_windows.odin" when ODIN_OS == "windows";
|
||||
import_load "os_x.odin" when ODIN_OS == "osx";
|
||||
import_load "os_linux.odin" when ODIN_OS == "linux";
|
||||
|
||||
proc write_string(fd: Handle, str: string) -> (int, Errno) {
|
||||
return write(fd, []u8(str));
|
||||
|
||||
Reference in New Issue
Block a user