aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 3a24f5e9..0f7d48c3 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1001,7 +1001,7 @@ static void alcSetError(ALCdevice *device, ALCenum errorCode)
if(IsDebuggerPresent())
DebugBreak();
#elif defined(SIGTRAP)
- kill(getpid(), SIGTRAP);
+ raise(SIGTRAP);
#endif
}