2008-02-01, 23:20
Nice find ArtVandelae (great nick btw
I've fixed in trunk (rev 11493), so next merge it'll be fixed in branch.
Cheers,
Jonathan
I've fixed in trunk (rev 11493), so next merge it'll be fixed in branch.
Cheers,
Jonathan
C-Quel Wrote:Intrigued to see how it runs can you post a link to your latest build? Noticed the 1st post but seems quite unstable and dont need all the other bits, just the exe
void (__cdecl * dll_signal(int sig, void (__cdecl *func)(int)))(int)
{
#if defined(_MSC_VER) && _MSC_VER >= 1400
if(sig == SIGINT || sig == SIGILL || sig == SIGFPE || sig == SIGSEGV || sig == SIGTERM || sig == SIGBREAK || sig == SIGABRT)
{
#endif
// the xbox has a NSIG of 23 (+1), problem is when calling signal with
// one of the signals below the xbox wil crash. Just return SIG_ERR
if (sig == SIGILL || sig == SIGFPE || sig == SIGSEGV) return SIG_ERR;
return signal(sig, func);
#if defined(_MSC_VER) && _MSC_VER >= 1400
}
return SIG_ERR;
#endif
}