summaryrefslogtreecommitdiff
path: root/TAO/tao/Client_Priority_Policy.h
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-10-08 17:12:45 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-10-08 17:12:45 +0000
commit85b3931f3331302c4dbf6205595c8cccfdca705e (patch)
tree63a7e45078230fc5b356cbdd80cf1adf9ec82678 /TAO/tao/Client_Priority_Policy.h
parenteb6f9152072284b18cd63401807f1db2619b853c (diff)
downloadATCD-85b3931f3331302c4dbf6205595c8cccfdca705e.tar.gz
ChangeLogTag:Fri Oct 08 12:05:03 1999 Irfan Pyarali <irfan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Client_Priority_Policy.h')
-rw-r--r--TAO/tao/Client_Priority_Policy.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/TAO/tao/Client_Priority_Policy.h b/TAO/tao/Client_Priority_Policy.h
index f5531dd01e9..90d2bdcdfd5 100644
--- a/TAO/tao/Client_Priority_Policy.h
+++ b/TAO/tao/Client_Priority_Policy.h
@@ -22,6 +22,14 @@
#ifndef TAO_CLIENT_PRIORITY_POLICY_H
#define TAO_CLIENT_PRIORITY_POLICY_H
+#include "tao/orbconf.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#if defined (TAO_HAS_CORBA_MESSAGING)
+
#include "TAOS.h"
#if defined(_MSC_VER)
@@ -76,12 +84,14 @@ private:
// The attribute
};
-#if defined (__ACE_INLINE__)
-#include "tao/Client_Priority_Policy.i"
-#endif /* __ACE_INLINE__ */
-
#if defined(_MSC_VER)
#pragma warning(default:4250)
#endif /* _MSC_VER */
+#endif /* TAO_HAS_CORBA_MESSAGING */
+
+#if defined (__ACE_INLINE__)
+#include "tao/Client_Priority_Policy.i"
+#endif /* __ACE_INLINE__ */
+
#endif /* TAO_CLIENT_PRIORITY_POLICY_H */