3 // Definition for Win32 Export directives.
4 // This file is generated automatically by generate_export_file.pl COMPILER_FEATURES_20_DLL
5 // ------------------------------
6 #ifndef COMPILER_FEATURES_20_DLL_EXPORT_H
7 #define COMPILER_FEATURES_20_DLL_EXPORT_H
9 #include "ace/config-all.h"
11 #if defined (ACE_AS_STATIC_LIBS) && !defined (COMPILER_FEATURES_20_DLL_HAS_DLL)
12 # define COMPILER_FEATURES_20_DLL_HAS_DLL 0
13 #endif /* ACE_AS_STATIC_LIBS && ! TEST_HAS_DLL */
15 #if !defined (COMPILER_FEATURES_20_DLL_HAS_DLL)
16 # define COMPILER_FEATURES_20_DLL_HAS_DLL 1
17 #endif /* ! COMPILER_FEATURES_20_DLL_HAS_DLL */
19 #if defined (COMPILER_FEATURES_20_DLL_HAS_DLL) && (COMPILER_FEATURES_20_DLL_HAS_DLL == 1)
20 # if defined (COMPILER_FEATURES_20_DLL_BUILD_DLL)
21 # define COMPILER_FEATURES_20_DLL_Export ACE_Proper_Export_Flag
22 # define COMPILER_FEATURES_20_DLL_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
23 # define COMPILER_FEATURES_20_DLL_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
24 # else /* COMPILER_FEATURES_20_DLL_BUILD_DLL */
25 # define COMPILER_FEATURES_20_DLL_Export ACE_Proper_Import_Flag
26 # define COMPILER_FEATURES_20_DLL_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
27 # define COMPILER_FEATURES_20_DLL_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
28 # endif /* COMPILER_FEATURES_20_DLL_BUILD_DLL */
29 #else /* COMPILER_FEATURES_20_DLL_HAS_DLL == 1 */
30 # define COMPILER_FEATURES_20_DLL_Export
31 # define COMPILER_FEATURES_20_DLL_SINGLETON_DECLARATION(T)
32 # define COMPILER_FEATURES_20_DLL_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
33 #endif /* COMPILER_FEATURES_20_DLL_HAS_DLL == 1 */
35 // Set COMPILER_FEATURES_20_DLL_NTRACE = 0 to turn on library specific tracing even if
36 // tracing is turned off for ACE.
37 #if !defined (COMPILER_FEATURES_20_DLL_NTRACE)
38 # if (ACE_NTRACE == 1)
39 # define COMPILER_FEATURES_20_DLL_NTRACE 1
40 # else /* (ACE_NTRACE == 1) */
41 # define COMPILER_FEATURES_20_DLL_NTRACE 0
42 # endif /* (ACE_NTRACE == 1) */
43 #endif /* !COMPILER_FEATURES_20_DLL_NTRACE */
45 #if (COMPILER_FEATURES_20_DLL_NTRACE == 1)
46 # define COMPILER_FEATURES_20_DLL_TRACE(X)
47 #else /* (COMPILER_FEATURES_20_DLL_NTRACE == 1) */
48 # define COMPILER_FEATURES_20_DLL_TRACE(X) ACE_TRACE_IMPL(X)
49 #endif /* (COMPILER_FEATURES_20_DLL_NTRACE == 1) */
51 #endif /* COMPILER_FEATURES_20_DLL_EXPORT_H */
53 // End of auto generated file.