summaryrefslogtreecommitdiff
path: root/ace/Task.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2002-07-31 06:12:22 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2002-07-31 06:12:22 +0000
commit61cffb65c667aa7dcb243d865604ad366a4b0b85 (patch)
tree6d5574e8513bcdfac3f87c099a6d7c731c24c4fb /ace/Task.cpp
parentb8c9f720c68bf7bdc16da787f1003873a4cd03f6 (diff)
downloadATCD-61cffb65c667aa7dcb243d865604ad366a4b0b85.tar.gz
ChangeLogTag: Wed Jul 31 08:10:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ace/Task.cpp')
-rw-r--r--ace/Task.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ace/Task.cpp b/ace/Task.cpp
index bf9034bf8cf..6e1051ea022 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__)
- // C++Builder complains about reinterpret_cast from int to unsigned long...
+#if defined (__BORLANDC__) || defined (__MINGW32__)
+ // C++Builder and MingW complain about reinterpret_cast from int to unsigned long...
status = ACE_static_cast (ACE_THR_FUNC_RETURN, svc_status);
#else
status = ACE_reinterpret_cast(ACE_THR_FUNC_RETURN, svc_status);
-#endif /* __BORLANDC__ */
+#endif /* __BORLANDC__ || __MINGW32__*/
// If we changed this zero change the other if in OS.cpp Thread_Adapter::invoke
#if 1