diff options
author | Chris Robinson <[email protected]> | 2011-09-30 20:46:18 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-09-30 20:46:18 -0700 |
commit | bed37a148c3bb1e4d61ed989cfd6b1ebb251bec0 (patch) | |
tree | f61bef5935384c3da6e7a7f6641594194b5e19c3 /Alc | |
parent | bf19186223d3b3cd684582b55868b58a0a0c2318 (diff) |
Use raise(SIGTRAP) instead of kill(getpid(),SIGTRAP)
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1001,7 +1001,7 @@ static void alcSetError(ALCdevice *device, ALCenum errorCode) if(IsDebuggerPresent()) DebugBreak(); #elif defined(SIGTRAP) - kill(getpid(), SIGTRAP); + raise(SIGTRAP); #endif } |