3 //=============================================================================
5 * @file ACEXML_Export.h
7 * @author Nanbor Wang <nanbor@cs.wustl.edu>
9 //=============================================================================
11 // Definition for Win32 Export directives.
12 // This file is generated automatically by generate_export_file.pl
13 // ------------------------------
14 #ifndef ACEXML_EXPORT_H
15 #define ACEXML_EXPORT_H
17 #include "ace/config-all.h"
19 #if defined (ACE_AS_STATIC_LIBS)
20 # if !defined (ACEXML_HAS_DLL)
21 # define ACEXML_HAS_DLL 0
22 # endif /* ! ACEXML_HAS_DLL */
24 # if !defined (ACEXML_HAS_DLL)
25 # define ACEXML_HAS_DLL 1
26 # endif /* ! ACEXML_HAS_DLL */
27 #endif /* ACE_AS_STATIC_LIB */
29 #if defined (ACEXML_HAS_DLL) && (ACEXML_HAS_DLL == 1)
30 # if defined (ACEXML_BUILD_DLL)
31 # define ACEXML_Export ACE_Proper_Export_Flag
32 # define ACEXML_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
33 # define ACEXML_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
34 # else /* ACEXML_BUILD_DLL */
35 # define ACEXML_Export ACE_Proper_Import_Flag
36 # define ACEXML_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
37 # define ACEXML_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
38 # endif /* ACEXML_BUILD_DLL */
39 #else /* ACEXML_HAS_DLL == 1 */
40 # define ACEXML_Export
41 # define ACEXML_SINGLETON_DECLARATION(T)
42 # define ACEXML_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
43 #endif /* ACEXML_HAS_DLL == 1 */
45 #endif /* ACEXML_EXPORT_H */
47 // End of auto generated file.