summaryrefslogtreecommitdiff
path: root/TAO/tao/Interceptor.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Interceptor.h')
-rw-r--r--TAO/tao/Interceptor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/Interceptor.h b/TAO/tao/Interceptor.h
index bdf4c615be3..2d98002c4af 100644
--- a/TAO/tao/Interceptor.h
+++ b/TAO/tao/Interceptor.h
@@ -36,7 +36,7 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#if defined (TAO_HAS_INTERCEPTORS)
+#if (TAO_HAS_INTERCEPTORS == 1)
# define TAO_INTERCEPTOR(X) X
# define TAO_INTERCEPTOR_CHECK ACE_TRY_CHECK
# define TAO_INTERCEPTOR_CHECK_RETURN(X) ACE_TRY_CHECK
@@ -50,7 +50,7 @@
# define TAO_INTERCEPTOR_THROW_RETURN(X,Y) ACE_THROW_RETURN(X,Y)
#endif /* TAO_HAS_INTERCEPTORS */
-#if defined (TAO_HAS_INTERCEPTORS)
+#if (TAO_HAS_INTERCEPTORS == 1)
class TAO_Export TAO_ClientRequestInterceptor_Adapter
{
// = TITLE