2 // Definition for Win32 Export directives.
3 // This file is generated automatically by generate_export_file.pl -d -s HTBP
4 // ------------------------------
8 #include "ace/config-all.h"
10 #if defined (ACE_AS_STATIC_LIBS) && !defined (HTBP_HAS_DLL)
11 # define HTBP_HAS_DLL 0
12 #endif /* ACE_AS_STATIC_LIBS && HTBP_HAS_DLL */
14 #if !defined (HTBP_HAS_DLL)
15 # define HTBP_HAS_DLL 1
16 #endif /* ! HTBP_HAS_DLL */
18 #if defined (HTBP_HAS_DLL) && (HTBP_HAS_DLL == 1)
19 # if defined (HTBP_BUILD_DLL)
20 # define HTBP_Export ACE_Proper_Export_Flag
21 # define HTBP_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
22 # define HTBP_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
23 # else /* HTBP_BUILD_DLL */
24 # define HTBP_Export ACE_Proper_Import_Flag
25 # define HTBP_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
26 # define HTBP_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
27 # endif /* HTBP_BUILD_DLL */
28 #else /* HTBP_HAS_DLL == 1 */
30 # define HTBP_SINGLETON_DECLARATION(T)
31 # define HTBP_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
32 #endif /* HTBP_HAS_DLL == 1 */
34 // Set HTBP_NTRACE = 0 to turn on library specific tracing even if
35 // tracing is turned off for ACE.
36 #if !defined (HTBP_NTRACE)
37 # if (ACE_NTRACE == 1)
38 # define HTBP_NTRACE 1
39 # else /* (ACE_NTRACE == 1) */
40 # define HTBP_NTRACE 0
41 # endif /* (ACE_NTRACE == 1) */
42 #endif /* !HTBP_NTRACE */
44 #if (HTBP_NTRACE == 1)
45 # define HTBP_TRACE(X)
46 #else /* (HTBP_NTRACE == 1) */
47 # define HTBP_TRACE(X) ACE_TRACE_IMPL(X)
48 #endif /* (HTBP_NTRACE == 1) */
50 #endif /* HTBP_EXPORT_H */
52 // End of auto generated file.