summaryrefslogtreecommitdiff
path: root/TAO/tao/Asynch_Invocation.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Asynch_Invocation.h')
-rw-r--r--TAO/tao/Asynch_Invocation.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/tao/Asynch_Invocation.h b/TAO/tao/Asynch_Invocation.h
index 4532c73b303..51754a07423 100644
--- a/TAO/tao/Asynch_Invocation.h
+++ b/TAO/tao/Asynch_Invocation.h
@@ -29,9 +29,9 @@
#include "tao/MessagingC.h"
-#if defined (TAO_HAS_CORBA_MESSAGING)
+#if (TAO_HAS_CORBA_MESSAGING == 1)
-# if defined (TAO_HAS_AMI_CALLBACK) || (TAO_HAS_AMI_POLLER)
+# if (TAO_HAS_AMI_CALLBACK == 1) || (TAO_HAS_AMI_POLLER == 1)
class TAO_Export TAO_GIOP_Twoway_Asynch_Invocation : public TAO_GIOP_Invocation
{
@@ -81,9 +81,9 @@ private:
// Reply dispatcher for the current synchronous Asynch_Invocation.
};
-# endif /* TAO_HAS_AMI_CALLBACK || TAO_HAS_AMI_POLLER */
+# endif /* TAO_HAS_AMI_CALLBACK == 1 || TAO_HAS_AMI_POLLER == 1 */
-#endif /* TAO_HAS_CORBA_MESSAGING */
+#endif /* TAO_HAS_CORBA_MESSAGING == 1 */
//***********************************************************************