fix hardware-info for windows

db4
Doug Coleman 2008-01-29 11:40:50 -06:00
parent cdb4c5f698
commit 374f8acae2
4 changed files with 8 additions and 5 deletions

View File

@ -11,4 +11,3 @@ HOOK: available-page-file os ( -- n )
HOOK: total-virtual-mem os ( -- n )
HOOK: available-virtual-mem os ( -- n )
HOOK: available-virtual-extended-mem os ( -- n )

View File

@ -0,0 +1,6 @@
IN: hardware-info.windows.backend
TUPLE: wince ;
TUPLE: winnt ;
UNION: windows wince winnt ;

View File

@ -1,4 +1,4 @@
USING: alien alien.c-types hardware-info hardware-info.windows
USING: alien alien.c-types hardware-info.windows.backend
kernel libc math namespaces hardware-info.backend
windows windows.advapi32 windows.kernel32 ;
IN: hardware-info.windows.nt

View File

@ -1,11 +1,9 @@
USING: alien alien.c-types kernel libc math namespaces
windows windows.kernel32 windows.advapi32
hardware-info.windows.backend
words combinators vocabs.loader hardware-info.backend ;
IN: hardware-info.windows
TUPLE: wince ;
TUPLE: winnt ;
UNION: windows wince winnt ;
USE: system
: system-info ( -- SYSTEM_INFO )