From 3cf8fdd47ebde1b87e4c30a30b58753163e4e62f Mon Sep 17 00:00:00 2001 From: brodsom Date: Thu, 11 Sep 2003 02:32:40 +0000 Subject: [PATCH] -MINGW fix --- src/jrd/os/win32/isc_ipc.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/jrd/os/win32/isc_ipc.cpp b/src/jrd/os/win32/isc_ipc.cpp index 361cecb4c7..1635e97605 100644 --- a/src/jrd/os/win32/isc_ipc.cpp +++ b/src/jrd/os/win32/isc_ipc.cpp @@ -36,7 +36,7 @@ * */ - /* $Id: isc_ipc.cpp,v 1.2 2003-09-08 21:44:43 skidder Exp $ */ + /* $Id: isc_ipc.cpp,v 1.3 2003-09-11 02:32:40 brodsom Exp $ */ #include #include @@ -57,6 +57,12 @@ #include #endif +#ifdef MINGW +// signals not defined in MINGW +#define SIG_SGE (void (__cdecl *)(int))3 /* signal gets error */ +#define SIG_ACK (void (__cdecl *)(int))4 /* acknowledge */ +#endif + #ifndef REQUESTER static USHORT initialized_signals = FALSE; static SLONG volatile overflow_count = 0; @@ -300,4 +306,4 @@ static void overflow_handler(int signal, int code) throw() } } } -#endif \ No newline at end of file +#endif