summaryrefslogtreecommitdiff
path: root/ACE/ace/Global_Macros.h
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2007-03-09 01:07:44 +0000
committerSteve Huston <shuston@riverace.com>2007-03-09 01:07:44 +0000
commita61714cf83a43552d74232bec6bf2965868142de (patch)
tree6553cb506c511a771a9aac20cc6ff91643494aaf /ACE/ace/Global_Macros.h
parentacc13c6e0ae9f31dd5895864c7fe76bbc2a6f2f6 (diff)
downloadATCD-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.h7
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 */