aboutsummaryrefslogtreecommitdiff
path: root/core/sync_windows.odin
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-06-17 12:01:53 +0100
committerGinger Bill <bill@gingerbill.org>2017-06-17 12:01:53 +0100
commit2deb2f8eebc42dd52ef8b78811c59e1b07f54f21 (patch)
tree6450f88b93b155bd1db798ee11f8ac03e7cc1f84 /core/sync_windows.odin
parent3fa398ec43ddc6fc40562087fd8ab87dc5292499 (diff)
Declaration grouping uses () rather than {}; Fix some problem with compilation on *nix
Diffstat (limited to 'core/sync_windows.odin')
-rw-r--r--core/sync_windows.odin4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/sync_windows.odin b/core/sync_windows.odin
index 524124d36..353fb755f 100644
--- a/core/sync_windows.odin
+++ b/core/sync_windows.odin
@@ -1,7 +1,7 @@
-import {
+import (
win32 "sys/windows.odin" when ODIN_OS == "windows";
"atomics.odin";
-}
+)
type Semaphore struct {
_handle: win32.Handle,