diff options
Diffstat (limited to 'lib/nimhcr.nim')
-rw-r--r-- | lib/nimhcr.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/nimhcr.nim b/lib/nimhcr.nim index 0f9ae918d..1bafa98cb 100644 --- a/lib/nimhcr.nim +++ b/lib/nimhcr.nim @@ -196,7 +196,7 @@ # block. Perhaps something can be done about this - some way of re-allocating # the state and transferring the old... -when not defined(JS) and (defined(hotcodereloading) or +when not defined(js) and (defined(hotcodereloading) or defined(createNimHcr) or defined(testNimHcr)): const @@ -612,7 +612,7 @@ when defined(createNimHcr): global.markerProc() elif defined(hotcodereloading) or defined(testNimHcr): - when not defined(JS): + when not defined(js): const nimhcrLibname = when defined(windows): "nimhcr." & dllExt elif defined(macosx): "libnimhcr." & dllExt |