summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authornarimiran <narimiran@disroot.org>2019-06-04 14:33:55 +0200
committernarimiran <narimiran@disroot.org>2019-06-04 14:33:55 +0200
commite3ddc6b83a691849dda3f59516de1d8d6ffa9bc7 (patch)
tree5281bf791168df617a09ae1895e95d7f49da466a /lib
parent7f63c1b83d4a45bef9a1a05810ea7fd7c85c43c9 (diff)
downloadNim-e3ddc6b83a691849dda3f59516de1d8d6ffa9bc7.tar.gz
revert unintended changes
Diffstat (limited to 'lib')
-rw-r--r--lib/system.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 778ce37ab..3accc6337 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -3391,8 +3391,8 @@ else:
 
 
 when not defined(JS):
-  proc likelyProc(val: bool): bool {.importc: "likely", nodecl, nosideeffect.}
-  proc unlikelyProc(val: bool): bool {.importc: "unlikely", nodecl, nosideeffect.}
+  proc likelyProc(val: bool): bool {.importc: "NIM_LIKELY", nodecl, nosideeffect.}
+  proc unlikelyProc(val: bool): bool {.importc: "NIM_UNLIKELY", nodecl, nosideeffect.}
 
 template likely*(val: bool): bool =
   ## Hints the optimizer that `val` is likely going to be true.