aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-09-30 20:46:18 -0700
committerChris Robinson <[email protected]>2011-09-30 20:46:18 -0700
commitbed37a148c3bb1e4d61ed989cfd6b1ebb251bec0 (patch)
treef61bef5935384c3da6e7a7f6641594194b5e19c3 /OpenAL32
parentbf19186223d3b3cd684582b55868b58a0a0c2318 (diff)
Use raise(SIGTRAP) instead of kill(getpid(),SIGTRAP)
Diffstat (limited to 'OpenAL32')
-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);