diff options
author | dai_y <dai_y@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2009-11-10 18:18:06 +0000 |
---|---|---|
committer | dai_y <dai_y@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2009-11-10 18:18:06 +0000 |
commit | cee2563d8f4e820c25e53633e0be465156ca715a (patch) | |
tree | becbfdc90cb65d8fb682f47a72114d5559f87a8d /TAO/orbsvcs/orbsvcs/Notify/MonitorControlExt | |
parent | 508a2e97f2dd1dc08603deffdb24c02e12943935 (diff) | |
download | ATCD-cee2563d8f4e820c25e53633e0be465156ca715a.tar.gz |
Tue Nov 10 18:15:44 UTC 2009 Yan Dai <dai_y@ociweb.com>
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/MonitorControlExt')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Notify/MonitorControlExt/MonitorProxySupplier_T.cpp | 4 | ||||
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Notify/MonitorControlExt/MonitorProxySupplier_T.h | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/MonitorControlExt/MonitorProxySupplier_T.cpp b/TAO/orbsvcs/orbsvcs/Notify/MonitorControlExt/MonitorProxySupplier_T.cpp index 3d4ad770521..75e594a14b9 100644 --- a/TAO/orbsvcs/orbsvcs/Notify/MonitorControlExt/MonitorProxySupplier_T.cpp +++ b/TAO/orbsvcs/orbsvcs/Notify/MonitorControlExt/MonitorProxySupplier_T.cpp @@ -9,6 +9,8 @@ #include "orbsvcs/Notify/ThreadPool_Task.h" #include "ace/Monitor_Base.h" +#if defined (TAO_HAS_MONITOR_FRAMEWORK) && (TAO_HAS_MONITOR_FRAMEWORK == 1) + #if !defined (ACE_LACKS_PRAGMA_ONCE) #pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ @@ -161,4 +163,6 @@ TAO_MonitorProxySupplier_T<ProxyPushSupplier>::overflow_stat_name(void) TAO_END_VERSIONED_NAMESPACE_DECL +#endif // TAO_HAS_MONITOR_FRAMEWORK == 1 + #endif // MONITORPROXYSUPPLIER_T_CPP diff --git a/TAO/orbsvcs/orbsvcs/Notify/MonitorControlExt/MonitorProxySupplier_T.h b/TAO/orbsvcs/orbsvcs/Notify/MonitorControlExt/MonitorProxySupplier_T.h index 6b48b66d9b3..cd07f0f4160 100644 --- a/TAO/orbsvcs/orbsvcs/Notify/MonitorControlExt/MonitorProxySupplier_T.h +++ b/TAO/orbsvcs/orbsvcs/Notify/MonitorControlExt/MonitorProxySupplier_T.h @@ -14,6 +14,8 @@ #include "orbsvcs/Notify/Buffering_Strategy.h" #include "orbsvcs/Notify/SupplierAdmin.h" +#if defined (TAO_HAS_MONITOR_FRAMEWORK) && (TAO_HAS_MONITOR_FRAMEWORK == 1) + ACE_BEGIN_VERSIONED_NAMESPACE_DECL namespace ACE @@ -85,5 +87,8 @@ TAO_END_VERSIONED_NAMESPACE_DECL #pragma implementation ("MonitorProxySupplier_T.cpp") #endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */ +#endif // TAO_HAS_MONITOR_FRAMEWORK == 1 + #include /**/ "ace/post.h" #endif /* MONITORPROXYSUPPLIER_H */ + |