diff --git a/C/sysbits.c b/C/sysbits.c index e35cf19d7..a5f54a447 100755 --- a/C/sysbits.c +++ b/C/sysbits.c @@ -471,7 +471,7 @@ sub_utime(FILETIME t1, FILETIME t2) #endif UInt -Yap_cputime ( USES_REGS1 ) +Yap_cputime ( void ) { HANDLE hProcess = GetCurrentProcess(); FILETIME CreationTime, ExitTime, KernelTime, UserTime; @@ -1775,6 +1775,7 @@ ReceiveSignal (int s) #if (_MSC_VER || defined(__MINGW32__)) static BOOL WINAPI MSCHandleSignal(DWORD dwCtrlType) { + CACHE_REGS if (LOCAL_InterruptsDisabled) { return FALSE; }