summary refs log tree commit diff stats
path: root/lib/system
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-12-23 08:28:32 +0100
committerAraq <rumpf_a@web.de>2013-12-23 08:28:32 +0100
commit4447c1b7e323443a26189140410814195eee18a9 (patch)
tree2e7b779a5eaa046f166ded908a7629c083bf385c /lib/system
parentb76729df1cd326a3230536d0f78276cfabe4dd2a (diff)
downloadNim-4447c1b7e323443a26189140410814195eee18a9.tar.gz
tcnstseq works again
Diffstat (limited to 'lib/system')
-rw-r--r--lib/system/widestrs.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/system/widestrs.nim b/lib/system/widestrs.nim
index 6a699274c..d856cc830 100644
--- a/lib/system/widestrs.nim
+++ b/lib/system/widestrs.nim
@@ -9,6 +9,9 @@
 

 ## Nimrod support for C/C++'s `wide strings`:idx:. This is part of the system

 ## module! Do not import it directly!

+
+when not defined(NimString):
+  {.error: "You must not import this module explicitly".}
 

 type

   TUtf16Char* = distinct int16