diff options
Diffstat (limited to 'ptw32_callUserDestroyRoutines.c')
-rw-r--r-- | ptw32_callUserDestroyRoutines.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ptw32_callUserDestroyRoutines.c b/ptw32_callUserDestroyRoutines.c index cef88cf..f580223 100644 --- a/ptw32_callUserDestroyRoutines.c +++ b/ptw32_callUserDestroyRoutines.c @@ -38,6 +38,11 @@ #include "pthread.h" #include "implement.h" +#ifdef __cplusplus +# if ! defined (_MSC_VER) && ! (defined(__GNUC__) && __GNUC__ < 3) + using std::terminate; +# endif +#endif void ptw32_callUserDestroyRoutines (pthread_t thread) |