bootstrap.compiler: add GetLastError and FormatMessageW to the compilation shortlist on Windows to avoid compilation order issues

db4
Joe Groff 2011-09-13 11:58:30 -07:00
parent cb1ed13a37
commit 1927cfeec1
1 changed files with 6 additions and 0 deletions
basis/bootstrap/compiler

View 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