diff options
author | rpj <rpj> | 2005-05-15 15:28:24 +0000 |
---|---|---|
committer | rpj <rpj> | 2005-05-15 15:28:24 +0000 |
commit | 46ae637c4ef03a921d4a06baf99219c6149a7d20 (patch) | |
tree | ca25c87f4285954f598d6f9b11b906d74b24750d /ptw32_throw.c | |
parent | d4a22be21479c3b52e0ba2d3cfb150a98c426422 (diff) |
''
Diffstat (limited to 'ptw32_throw.c')
-rw-r--r-- | ptw32_throw.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ptw32_throw.c b/ptw32_throw.c index 57814e9..493f4e4 100644 --- a/ptw32_throw.c +++ b/ptw32_throw.c @@ -85,8 +85,12 @@ ptw32_throw (DWORD exception) break; } +#if defined(PTW32_STATIC_LIB) + pthread_win32_thread_detach_np (); +#endif + #if ! defined (__MINGW32__) || defined (__MSVCRT__) || defined (__DMC__) _endthreadex (exitCode); #else |