Browse Source

Switched to else instead of not equal

Platin21 5 years ago
parent
commit
6b83159b06
1 changed files with 1 additions and 3 deletions
  1. 1 3
      core/time/time_unix.odin

+ 1 - 3
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"
 }