summaryrefslogtreecommitdiff
path: root/TAO/tao/Sync_Strategies.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Sync_Strategies.h')
-rw-r--r--TAO/tao/Sync_Strategies.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/TAO/tao/Sync_Strategies.h b/TAO/tao/Sync_Strategies.h
index b4cb70e0e4b..028fa194df2 100644
--- a/TAO/tao/Sync_Strategies.h
+++ b/TAO/tao/Sync_Strategies.h
@@ -1,6 +1,7 @@
// -*- C++ -*-
// $Id$
+
// ============================================================================
//
// = LIBRARY
@@ -49,7 +50,7 @@ public:
const ACE_Time_Value *max_wait_time);
};
-#if defined (TAO_HAS_CORBA_MESSAGING)
+#if (TAO_HAS_CORBA_MESSAGING == 1)
class TAO_Export TAO_None_Sync_Strategy : public TAO_Sync_Strategy
{
@@ -69,15 +70,7 @@ public:
ACE_Time_Value time_conversion (const TimeBase::TimeT &time);
};
-class TAO_Export TAO_Flush_Sync_Strategy : public TAO_None_Sync_Strategy
-{
-public:
- virtual int buffering_constraints_reached (TAO_Transport &transport,
- TAO_Stub &stub,
- TAO_Transport_Buffering_Queue &buffering_queue);
-};
-
-#endif /* TAO_HAS_CORBA_MESSAGING */
+#endif /* TAO_HAS_CORBA_MESSAGING == 1 */
#if defined (__ACE_INLINE__)
# include "tao/Sync_Strategies.i"