summaryrefslogtreecommitdiff
path: root/TAO/tao/Asynch_Invocation.h
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-10-09 00:19:59 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-10-09 00:19:59 +0000
commit53b5c94307b7015c02ff166cff1392a282060338 (patch)
tree6301d6bc6e5375e3afec0f1869f1897b67aa10ed /TAO/tao/Asynch_Invocation.h
parent7efb6e85cd7a2e3ee8b1e3b5d467fb3113355472 (diff)
downloadATCD-53b5c94307b7015c02ff166cff1392a282060338.tar.gz
Moved #if defined (ACE_HAS_AMI_CALLBACK) || defined (ACE_HAS_AMI_POLLER)
from around the deferred synchronous stuff I checked in earlier. None of that code uses AMI callbacks or pollers.
Diffstat (limited to 'TAO/tao/Asynch_Invocation.h')
-rw-r--r--TAO/tao/Asynch_Invocation.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/TAO/tao/Asynch_Invocation.h b/TAO/tao/Asynch_Invocation.h
index bacf8b97174..14f66f304b1 100644
--- a/TAO/tao/Asynch_Invocation.h
+++ b/TAO/tao/Asynch_Invocation.h
@@ -27,12 +27,12 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
+#include "tao/MessagingC.h"
+
#if defined (TAO_HAS_CORBA_MESSAGING)
# if defined (TAO_HAS_AMI_CALLBACK) || (TAO_HAS_AMI_POLLER)
-#include "tao/MessagingC.h"
-
class TAO_Export TAO_GIOP_Twoway_Asynch_Invocation : public TAO_GIOP_Invocation
{
// = TITLE
@@ -81,6 +81,10 @@ private:
// Reply dispatcher for the current synchronous Asynch_Invocation.
};
+# endif /* TAO_HAS_AMI_CALLBACK || TAO_HAS_AMI_POLLER */
+
+#endif /* TAO_HAS_CORBA_MESSAGING */
+
//***********************************************************************
class TAO_Export TAO_GIOP_DII_Deferred_Invocation : public TAO_GIOP_Invocation
@@ -133,8 +137,4 @@ private:
# include "tao/Asynch_Invocation.i"
#endif /* __ACE_INLINE__ */
-# endif /* TAO_HAS_AMI_CALLBACK || TAO_HAS_AMI_POLLER */
-
-#endif /* TAO_HAS_CORBA_MESSAGING */
-
#endif /* TAO_ASYNCH_INVOCATION_H */