X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=blobdiff_plain;f=basis%2Fwindows%2Fwindows.factor;h=56c836a1852c8087c26ff018f2c500654f3bfaf4;hp=92ba8b638a4366af029cb25e0e2d0d4fff16da7e;hb=HEAD;hpb=5ac2ccc9cd9d5b6f6ab36a6b98c81d9a017a252d diff --git a/basis/windows/windows.factor b/basis/windows/windows.factor old mode 100755 new mode 100644 index 92ba8b638a..c70ee9090f --- a/basis/windows/windows.factor +++ b/basis/windows/windows.factor @@ -1,5 +1,30 @@ ! Copyright (C) 2005, 2006 Doug Coleman. -! See http://factorcode.org/license.txt for BSD license. +! See https://factorcode.org/license.txt for BSD license. +USING: alien alien.libraries sequences ; IN: windows CONSTANT: MAX_UNICODE_PATH 32768 + +{ + { "advapi32" "advapi32.dll" stdcall } + { "gdi32" "gdi32.dll" stdcall } + { "user32" "user32.dll" stdcall } + { "kernel32" "kernel32.dll" stdcall } + { "winsock" "ws2_32.dll" stdcall } + { "mswsock" "mswsock.dll" stdcall } + { "shell32" "shell32.dll" stdcall } + { "iphlpapi" "iphlpapi.dll" stdcall } + { "libc" "ucrtbase.dll" cdecl } + { "libm" "ucrtbase.dll" cdecl } + { "gdiplus" "gdiplus.dll" stdcall } + { "gl" "opengl32.dll" stdcall } + { "glu" "glu32.dll" stdcall } + { "ole32" "ole32.dll" stdcall } + { "shcore" "shcore.dll" stdcall } + { "usp10" "usp10.dll" stdcall } + { "psapi" "psapi.dll" stdcall } + { "winmm" "winmm.dll" stdcall } + { "ntdll" "ntdll.dll" stdcall } + { "crypt32" "crypt32.dll" stdcall } + { "powrprof" "powrprof.dll" stdcall } +} [ first3 add-library ] each