summaryrefslogtreecommitdiff
path: root/TAO/tao/TAOC.h
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-12-23 18:56:30 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-12-23 18:56:30 +0000
commit9b889a47ed26d1479cd02698002585539cb59dda (patch)
treefe358d8628cca01818e506934556901a54acd82b /TAO/tao/TAOC.h
parentc34baa5660fbbcf686a558ae3951b4c309f2dc5f (diff)
downloadATCD-9b889a47ed26d1479cd02698002585539cb59dda.tar.gz
ChangeLogTag: Thu Dec 23 12:33:41 1999 Irfan Pyarali <irfan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/TAOC.h')
-rw-r--r--TAO/tao/TAOC.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/TAO/tao/TAOC.h b/TAO/tao/TAOC.h
index 8684609d3e5..9b7c39250da 100644
--- a/TAO/tao/TAOC.h
+++ b/TAO/tao/TAOC.h
@@ -17,12 +17,12 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#if defined (TAO_HAS_CORBA_MESSAGING)
+#if (TAO_HAS_CORBA_MESSAGING == 1)
#include "tao/PolicyC.h"
#include "tao/TimeBaseC.h"
-#endif /* TAO_HAS_CORBA_MESSAGING */
+#endif /* TAO_HAS_CORBA_MESSAGING == 1 */
#if defined (TAO_EXPORT_MACRO)
#undef TAO_EXPORT_MACRO
@@ -44,7 +44,7 @@
TAO_NAMESPACE TAO
{
-#if defined (TAO_HAS_CORBA_MESSAGING)
+#if (TAO_HAS_CORBA_MESSAGING == 1)
typedef CORBA::Short PrioritySelectionMode;
typedef CORBA::Short_out PrioritySelectionMode_out;
@@ -396,10 +396,10 @@ class TAO_Export BufferingConstraintPolicy: public virtual CORBA::Policy
TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_BufferingConstraintPolicy;
-#endif /* TAO_HAS_CORBA_MESSAGING */
+#endif /* TAO_HAS_CORBA_MESSAGING == 1 */
// It seems easier to have copies of these here than to use
- // #if defined (TAO_HAS_CORBA_MESSAGING) everywhere or to
+ // #if (TAO_HAS_CORBA_MESSAGING == 1) everywhere or to
// define a new class TAO_GIOP_Reliable_Oneway_Invocation
typedef CORBA::Short SyncScope;
@@ -415,7 +415,7 @@ class TAO_Export BufferingConstraintPolicy: public virtual CORBA::Policy
}
TAO_NAMESPACE_CLOSE // module TAO
-#if defined (TAO_HAS_CORBA_MESSAGING)
+#if (TAO_HAS_CORBA_MESSAGING == 1)
TAO_Export void operator<<= (CORBA::Any &, const TAO::PrioritySpecification &); // copying version
TAO_Export void operator<<= (CORBA::Any &, TAO::PrioritySpecification*); // noncopying version
@@ -430,18 +430,18 @@ TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, TAO::BufferingConstra
void operator<<= (CORBA::Any &, TAO::BufferingConstraintPolicy_ptr);
CORBA::Boolean operator>>= (const CORBA::Any &, TAO::BufferingConstraintPolicy *&);
-#endif /* TAO_HAS_CORBA_MESSAGING */
+#endif /* TAO_HAS_CORBA_MESSAGING == 1 */
#ifndef __ACE_INLINE__
-#if defined (TAO_HAS_CORBA_MESSAGING)
+#if (TAO_HAS_CORBA_MESSAGING == 1)
TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const TAO::PrioritySpecification &);
TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, TAO::PrioritySpecification &);
TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const TAO::BufferingConstraint &);
TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, TAO::BufferingConstraint &);
-#endif /* TAO_HAS_CORBA_MESSAGING */
+#endif /* TAO_HAS_CORBA_MESSAGING == 1 */
#endif /* __ACE_INLINE__ */