summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableInterceptorC.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/PortableInterceptorC.h')
-rw-r--r--TAO/tao/PortableInterceptorC.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/tao/PortableInterceptorC.h b/TAO/tao/PortableInterceptorC.h
index cf23ba672f6..3763d5dee26 100644
--- a/TAO/tao/PortableInterceptorC.h
+++ b/TAO/tao/PortableInterceptorC.h
@@ -19,9 +19,10 @@
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-
+#if (TAO_HAS_INTERCEPTORS == 1)
#include "tao/DynamicC.h"
#include "tao/MessagingC.h"
+#if (TAO_HAS_INTERCEPTORS == 1)
#if defined (TAO_EXPORT_MACRO)
#undef TAO_EXPORT_MACRO