diff options
author | Steve Huston <shuston@riverace.com> | 2007-03-09 01:07:44 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2007-03-09 01:07:44 +0000 |
commit | a61714cf83a43552d74232bec6bf2965868142de (patch) | |
tree | 6553cb506c511a771a9aac20cc6ff91643494aaf /ACE/ace/Global_Macros.h | |
parent | acc13c6e0ae9f31dd5895864c7fe76bbc2a6f2f6 (diff) | |
download | ATCD-a61714cf83a43552d74232bec6bf2965868142de.tar.gz |
ChangeLogTag:Fri Mar 9 00:53:43 UTC 2007 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ACE/ace/Global_Macros.h')
-rw-r--r-- | ACE/ace/Global_Macros.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ACE/ace/Global_Macros.h b/ACE/ace/Global_Macros.h index 18f57d9ace5..dace42b36c3 100644 --- a/ACE/ace/Global_Macros.h +++ b/ACE/ace/Global_Macros.h @@ -120,7 +120,12 @@ ACE_END_VERSIONED_NAMESPACE_DECL # define ACE_THROW_SPEC(X) #else # if defined (ACE_HAS_EXCEPTIONS) -# define ACE_THROW_SPEC(X) throw X +# if defined (ACE_WIN32) && defined (_MSC_VER) && \ + (_MSC_VER >= 1400) && (_MSC_VER < 1500) +# define ACE_THROW_SPEC(X) throw(...) +# else +# define ACE_THROW_SPEC(X) throw X +# endif /* ACE_WIN32 && VC8 */ # else /* ! ACE_HAS_EXCEPTIONS */ # define ACE_THROW_SPEC(X) # endif /* ! ACE_HAS_EXCEPTIONS */ |