]> gitweb.factorcode.org Git - factor.git/commitdiff
core: On Windows we depend on having io.strreams.byte-array for utf16
authorDoug Coleman <doug.coleman@gmail.com>
Sat, 1 Nov 2014 18:34:52 +0000 (11:34 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Sat, 1 Nov 2014 18:34:52 +0000 (11:34 -0700)
support. Include this in the boot image instead of alien.strings.

core/alien/strings/strings.factor
core/bootstrap/stage1.factor

index 7ea9a0d2635efa6c9eb5f941cc7065df3c9b9e4b..c14a8a5cd46b6ac2657fcab3cd909d28727e4a56 100644 (file)
@@ -5,7 +5,6 @@ io.encodings io.encodings.ascii io.encodings.utf16n
 io.encodings.utf8 io.streams.memory kernel kernel.private math
 namespaces sequences sequences.private strings strings.private
 system system.private ;
-USE: io.streams.byte-array ! for windows, do not delete!
 IN: alien.strings
 
 GENERIC# alien>string 1 ( c-ptr encoding -- string/f )
index 8cbd98b686c4ebb09a322979a9b94528ecf1141d..1bb94a7b72a745bbf2ce207664a59af6c2eeee19 100644 (file)
@@ -32,6 +32,7 @@ load-help? off
     "memory" require
 
     "io.streams.c" require
+    "io.streams.byte-array" require ! for utf16 on Windows
     "vocabs.loader" require
 
     "syntax" require