aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alError.c
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/alError.c')
-rw-r--r--OpenAL32/alError.c2
1 files changed, 1 insertions, 1 deletions
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);