changes to compile YAP in WIN32

This commit is contained in:
Vitor Santos Costa
2009-05-29 14:36:49 -05:00
parent 2dae7fd5ef
commit 0cd72ad258
7 changed files with 44 additions and 10 deletions

View File

@@ -1633,8 +1633,9 @@ ReceiveSignal (int s)
#if (_MSC_VER || defined(__MINGW32__))
static BOOL WINAPI
MSCHandleSignal(DWORD dwCtrlType) {
if (!Yap_InterruptsEnabled) {
if (Yap_InterruptsDisabled) {
return FALSE;
}
switch(dwCtrlType) {
case CTRL_C_EVENT:
case CTRL_BREAK_EVENT: