From 6b83159b062b72727d887663452fa445382373fc Mon Sep 17 00:00:00 2001 From: Platin21 Date: Sun, 27 Sep 2020 22:17:35 +0300 Subject: [PATCH] Switched to else instead of not equal --- core/time/time_unix.odin | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/time/time_unix.odin b/core/time/time_unix.odin index 995355ad5..2419a3f8b 100644 --- a/core/time/time_unix.odin +++ b/core/time/time_unix.odin @@ -5,9 +5,7 @@ IS_SUPPORTED :: true; // NOTE: Times on Darwin are UTC. when ODIN_OS == "darwin" { foreign import libc "System.framework" -} - -when ODIN_OS != "darwin" { +} else { foreign import libc "system:c" }