From 414f4bd7e70d94025576d9264c86da63c506f6ca Mon Sep 17 00:00:00 2001 From: rpj Date: Wed, 13 Aug 2003 15:10:53 +0000 Subject: Bug fixes plus adaptation to current MinGW/MsysDTK environment. Changes to tests/benchmarks. --- ptw32_callUserDestroyRoutines.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ptw32_callUserDestroyRoutines.c') 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) -- cgit v1.2.3