Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / PortableInterceptor.h
blob5bb53791d3a8b7d7bab10fb3c5cdb94881aeb84b
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file PortableInterceptor.h
7 * A series of TAO_INTERCEPTOR* macros are defined in this file.
8 * These macros allows us to disable/enable support of interceptors
9 * easily.
11 * @author Nanbor Wang <nanbor@cs.wustl.edu>
12 * @author Kirthika Parameswaran <kirthika@cs.wustl.edu>
13 * @author Ossama Othman <ossama@uci.edu>
15 //=============================================================================
18 #ifndef TAO_PORTABLE_INTERCEPTOR_H
19 #define TAO_PORTABLE_INTERCEPTOR_H
21 #include /**/ "ace/pre.h"
23 #include "tao/orbconf.h"
25 #if !defined (ACE_LACKS_PRAGMA_ONCE)
26 # pragma once
27 #endif /* ACE_LACKS_PRAGMA_ONCE */
29 #if (TAO_HAS_INTERCEPTORS == 1)
30 # define TAO_INTERCEPTOR(X) X
31 #else
32 # define TAO_INTERCEPTOR(X)
33 #endif /* TAO_HAS_INTERCEPTORS */
35 #include /**/ "ace/post.h"
37 #endif /* TAO_PORTABLE_INTERCEPTOR_H */