diff options
author | rpj <rpj> | 2005-05-16 15:42:44 +0000 |
---|---|---|
committer | rpj <rpj> | 2005-05-16 15:42:44 +0000 |
commit | a824c43d3f20fc5722c5fd8f0f942f632b961723 (patch) | |
tree | e33174f1e54bcb5dffa3fb16be69713f4cc497c0 /ptw32_throw.c | |
parent | 08e2916eb07fb75b2907032e2418316bf980d945 (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 |