diff options
-rw-r--r-- | Alc/ALc.c | 2 | ||||
-rw-r--r-- | OpenAL32/alError.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1001,7 +1001,7 @@ static void alcSetError(ALCdevice *device, ALCenum errorCode) if(IsDebuggerPresent()) DebugBreak(); #elif defined(SIGTRAP) - kill(getpid(), SIGTRAP); + raise(SIGTRAP); #endif } diff --git a/OpenAL32/alError.c b/OpenAL32/alError.c index f1c157f5..56f4248e 100644 --- a/OpenAL32/alError.c +++ b/OpenAL32/alError.c @@ -52,7 +52,7 @@ ALvoid alSetError(ALCcontext *Context, ALenum errorCode) if(IsDebuggerPresent()) DebugBreak(); #elif defined(SIGTRAP) - kill(getpid(), SIGTRAP); + raise(SIGTRAP); #endif } CompExchangeInt(&Context->LastError, AL_NO_ERROR, errorCode); |