Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / Utils / utils_export.h
blob69b74f4a69b64cb1c30e88040ea0efee9ec08bff
2 // -*- C++ -*-
3 // Definition for Win32 Export directives.
4 // This file is generated automatically by generate_export_file.pl TAO_UTILS
5 // ------------------------------
6 #ifndef TAO_UTILS_EXPORT_H
7 #define TAO_UTILS_EXPORT_H
9 #include "ace/config-all.h"
11 #if defined (TAO_AS_STATIC_LIBS)
12 # if !defined (TAO_UTILS_HAS_DLL)
13 # define TAO_UTILS_HAS_DLL 0
14 # endif /* ! TAO_UTILS_HAS_DLL */
15 #else
16 # if !defined (TAO_UTILS_HAS_DLL)
17 # define TAO_UTILS_HAS_DLL 1
18 # endif /* ! TAO_UTILS_HAS_DLL */
19 #endif
21 #if defined (TAO_UTILS_HAS_DLL) && (TAO_UTILS_HAS_DLL == 1)
22 # if defined (TAO_UTILS_BUILD_DLL)
23 # define TAO_UTILS_Export ACE_Proper_Export_Flag
24 # define TAO_UTILS_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
25 # define TAO_UTILS_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
26 # else /* TAO_UTILS_BUILD_DLL */
27 # define TAO_UTILS_Export ACE_Proper_Import_Flag
28 # define TAO_UTILS_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
29 # define TAO_UTILS_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
30 # endif /* TAO_UTILS_BUILD_DLL */
31 #else /* TAO_UTILS_HAS_DLL == 1 */
32 # define TAO_UTILS_Export
33 # define TAO_UTILS_SINGLETON_DECLARATION(T)
34 # define TAO_UTILS_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
35 #endif /* TAO_UTILS_HAS_DLL == 1 */
37 // Set TAO_UTILS_NTRACE = 0 to turn on library specific tracing even if
38 // tracing is turned off for ACE.
39 #if !defined (TAO_UTILS_NTRACE)
40 # if (ACE_NTRACE == 1)
41 # define TAO_UTILS_NTRACE 1
42 # else /* (ACE_NTRACE == 1) */
43 # define TAO_UTILS_NTRACE 0
44 # endif /* (ACE_NTRACE == 1) */
45 #endif /* !TAO_UTILS_NTRACE */
47 #if (TAO_UTILS_NTRACE == 1)
48 # define TAO_UTILS_TRACE(X)
49 #else /* (TAO_UTILS_NTRACE == 1) */
50 # if !defined (ACE_HAS_TRACE)
51 # define ACE_HAS_TRACE
52 # endif /* ACE_HAS_TRACE */
53 # define TAO_UTILS_TRACE(X) ACE_TRACE_IMPL(X)
54 # include "ace/Trace.h"
55 #endif /* (TAO_UTILS_NTRACE == 1) */
57 #endif /* TAO_UTILS_EXPORT_H */
59 // End of auto generated file.