summary refs log tree commit diff stats
path: root/lib/system/arithmetics.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/system/arithmetics.nim')
-rw-r--r--lib/system/arithmetics.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/arithmetics.nim b/lib/system/arithmetics.nim
index f9f9b35d4..ba9ade192 100644
--- a/lib/system/arithmetics.nim
+++ b/lib/system/arithmetics.nim
@@ -105,7 +105,7 @@ when defined(nimNoZeroExtendMagic):
     ## **Deprecated since version 0.19.9**: Use unsigned integers instead.
     cast[int32](x)
 
-elif not defined(JS):
+elif not defined(js):
   proc ze*(x: int8): int {.magic: "Ze8ToI", noSideEffect, deprecated.}
     ## zero extends a smaller integer type to ``int``. This treats `x` as
     ## unsigned.