summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2005-05-30 13:38:40 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2005-05-30 13:38:40 +0000
commit1fc8b028119fd3a2cf264cd66d7c263362ffc3bb (patch)
treebda840dd4430430c25e8512a1414102c24e7049b
parent8fe4f0270a2e541cc291f2c996b1752863520bfe (diff)
downloadATCD-1fc8b028119fd3a2cf264cd66d7c263362ffc3bb.tar.gz
ChangeLogTag: Mon May 30 13:38:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r--ace/Task.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/Task.cpp b/ace/Task.cpp
index b1311c68306..6405d323d08 100644
--- a/ace/Task.cpp
+++ b/ace/Task.cpp
@@ -202,12 +202,12 @@ ACE_Task_Base::svc_run (void *args)
// Call the Task's svc() hook method.
int svc_status = t->svc ();
ACE_THR_FUNC_RETURN status;
-#if (defined (__BORLANDC__) && (__BORLANDC__ <= 0x571)) || defined (__MINGW32__) || (defined (_MSC_VER) && (_MSC_VER <= 1400)) || (defined (ACE_WIN32) && defined(__IBMCPP__) || defined (__DCC__))
+#if (defined (__BORLANDC__) && (__BORLANDC__ < 0x600)) || defined (__MINGW32__) || (defined (_MSC_VER) && (_MSC_VER <= 1400)) || (defined (ACE_WIN32) && defined(__IBMCPP__) || defined (__DCC__))
// Some compilers complain about reinterpret_cast from int to unsigned long...
status = static_cast<ACE_THR_FUNC_RETURN> (svc_status);
#else
status = reinterpret_cast<ACE_THR_FUNC_RETURN> (svc_status);
-#endif /* (__BORLANDC__ <= 0x570) || __MINGW32__ || _MSC_VER <= 1400 || __IBMCPP__ */
+#endif /* (__BORLANDC__ < 0x600) || __MINGW32__ || _MSC_VER <= 1400 || __IBMCPP__ */
// If we changed this zero change the other if in OS.cpp Thread_Adapter::invoke
#if 1