From bed37a148c3bb1e4d61ed989cfd6b1ebb251bec0 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 30 Sep 2011 20:46:18 -0700 Subject: Use raise(SIGTRAP) instead of kill(getpid(),SIGTRAP) --- OpenAL32/alError.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenAL32/alError.c') 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); -- cgit v1.2.3