diff options
Diffstat (limited to 'TAO/tao/Buffering_Constraint_Policy.h')
-rw-r--r-- | TAO/tao/Buffering_Constraint_Policy.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/TAO/tao/Buffering_Constraint_Policy.h b/TAO/tao/Buffering_Constraint_Policy.h index 5e54d8503a6..b2e6267b677 100644 --- a/TAO/tao/Buffering_Constraint_Policy.h +++ b/TAO/tao/Buffering_Constraint_Policy.h @@ -1,5 +1,6 @@ /* -*- C++ -*- */ // $Id$ + // // ============================================================================ // @@ -26,7 +27,7 @@ # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ -#if defined (TAO_HAS_CORBA_MESSAGING) +#if (TAO_HAS_CORBA_MESSAGING == 1) #include "tao/TAOS.h" @@ -89,10 +90,10 @@ private: #pragma warning(pop) #endif /* _MSC_VER */ -#endif /* TAO_HAS_CORBA_MESSAGING */ - #if defined (__ACE_INLINE__) #include "tao/Buffering_Constraint_Policy.i" #endif /* __ACE_INLINE__ */ +#endif /* TAO_HAS_CORBA_MESSAGING == 1 */ + #endif /* TAO_BUFFERING_CONSTRAINT_POLICY_H */ |