]> gitweb.factorcode.org Git - factor.git/commitdiff
bootstrap.compiler: add GetLastError and FormatMessageW to the compilation shortlist...
authorJoe Groff <arcata@gmail.com>
Tue, 13 Sep 2011 18:58:30 +0000 (11:58 -0700)
committerJoe Groff <arcata@gmail.com>
Tue, 13 Sep 2011 20:33:07 +0000 (13:33 -0700)
basis/bootstrap/compiler/compiler.factor

index 9c753ce08f96da6f2b46c989ca8a1823fd5fe477..c807b84c6d8570def5e6b0e63a5a8a59064e6d92 100644 (file)
@@ -111,6 +111,12 @@ gc
         malloc calloc free memcpy
     } compile-unoptimized
 
+    os windows? [
+        "GetLastError" "windows.kernel32" lookup
+        "FormatMessageW" "windows.kernel32" lookup
+        2array compile-unoptimized
+    ] when
+
     "." write flush
 
     vocabs [ words compile-unoptimized "." write flush ] each