summaryrefslogtreecommitdiff
path: root/ace/Task_Ex_T.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Task_Ex_T.h')
-rw-r--r--ace/Task_Ex_T.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/ace/Task_Ex_T.h b/ace/Task_Ex_T.h
index 9777a90ff03..d958bd2d5e6 100644
--- a/ace/Task_Ex_T.h
+++ b/ace/Task_Ex_T.h
@@ -1,4 +1,4 @@
-/* -*- C++ -*- */
+// -*- C++ -*-
//=============================================================================
/**
@@ -23,6 +23,8 @@
#include "ace/Synch_Traits.h"
#include "ace/Task.h"
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
// Forward decls...
template <ACE_SYNCH_DECL> class ACE_Module;
@@ -150,7 +152,13 @@ public: // Should be protected:
* Note that if this conflicts with the C++ iostream <flush>
* function, just rewrite the iostream function as ::<flush>.
*/
+
+#if defined (ACE_LYNXOS_MAJOR) && (ACE_LYNXOS_MAJOR < 4)
+ // Make LynxOS 3.x buggy compiler happy
+ int flush (u_long flag = ACE_FLUSHALL);
+#else
int flush (u_long flag = ACE_Task_Flags::ACE_FLUSHALL);
+#endif
// = Special routines corresponding to certain message types.
@@ -182,6 +190,8 @@ private:
ACE_UNIMPLEMENTED_FUNC (ACE_Task_Ex (const ACE_Task_Ex<ACE_SYNCH_USE, ACE_MESSAGE_TYPE> &))
};
+ACE_END_VERSIONED_NAMESPACE_DECL
+
#if defined (__ACE_INLINE__)
#include "ace/Task_Ex_T.inl"
#endif /* __ACE_INLINE__ */