summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/pure/strutils.nim5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/pure/strutils.nim b/lib/pure/strutils.nim
index 055e91faf..ab34a0b2d 100644
--- a/lib/pure/strutils.nim
+++ b/lib/pure/strutils.nim
@@ -17,8 +17,9 @@ import parseutils
 from math import pow, round, floor, log10
 from algorithm import reverse
 
-from unicode import toLower, toUpper
-export toLower, toUpper
+when defined(nimVmExportFixed):
+  from unicode import toLower, toUpper
+  export toLower, toUpper
 
 {.deadCodeElim: on.}  # dce option deprecated