From: Brendan Hansen Date: Wed, 19 Jul 2023 02:37:28 +0000 (-0500) Subject: fixed: js compilation again X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=69b128d6e369ddc81ed5bd15fd78889cd28b36c8;p=onyx.git fixed: js compilation again --- diff --git a/core/intrinsics/atomics.onyx b/core/intrinsics/atomics.onyx index 131015f3..1cfc60b0 100644 --- a/core/intrinsics/atomics.onyx +++ b/core/intrinsics/atomics.onyx @@ -1,13 +1,5 @@ package core.intrinsics.atomics -#local { - use runtime - - #if !runtime.Multi_Threading_Enabled { - #error "Multi-threading is not enabled so you cannot include the 'core.intrinsics.atomics' package." - } -} - // __atomic_wait is only valid for i32 and i64 __atomic_wait :: (addr: &$T, value: T, timeout: i64 = -1) -> i32 #intrinsic --- __atomic_notify :: (addr: rawptr, maximum: i32 = 1) -> i32 #intrinsic ---