diff options
Diffstat (limited to 'ace/Task.cpp')
-rw-r--r-- | ace/Task.cpp | 4 |
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 |