diff options
author | Bernard Normier <bernard@zeroc.com> | 2008-04-22 18:11:00 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2008-04-22 18:11:00 -0400 |
commit | c4b430dcc78b9baa80a823b61ed7059dd3bb96bb (patch) | |
tree | 00d5c4e6a78fa35650b6e85d549238c4b2bfc009 /cpp/src/IceUtil | |
parent | Missing file (diff) | |
download | ice-c4b430dcc78b9baa80a823b61ed7059dd3bb96bb.tar.bz2 ice-c4b430dcc78b9baa80a823b61ed7059dd3bb96bb.tar.xz ice-c4b430dcc78b9baa80a823b61ed7059dd3bb96bb.zip |
StringConverter plugin windows port + various windows build fixes
Diffstat (limited to 'cpp/src/IceUtil')
-rw-r--r-- | cpp/src/IceUtil/Thread.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cpp/src/IceUtil/Thread.cpp b/cpp/src/IceUtil/Thread.cpp index f9d7290951c..bb9521b72bc 100644 --- a/cpp/src/IceUtil/Thread.cpp +++ b/cpp/src/IceUtil/Thread.cpp @@ -20,6 +20,7 @@ #include <IceUtil/Time.h> #include <IceUtil/ThreadException.h> #include <climits> +#include <exception> using namespace std; @@ -150,7 +151,11 @@ WINAPI startHook(void* arg) } catch(...) { - std::terminate(); +#if defined(_MSC_VER) && (_MSC_VER < 1300) + terminate(); +#else + std::terminate(); +#endif } thread->_done(); |