2 // Definition for Win32 Export directives.
4 // This file was generated by generate_export_file.pl
5 // but needed to be altered to support ACE_BUILD_SVC_DLL
6 // instead of ACE_SVC_BUILD_DLL which was already being
9 // ------------------------------
10 #if !defined (ACE_SVC_EXPORT_H)
11 #define ACE_SVC_EXPORT_H
13 #include /**/ "ace/config-all.h"
15 #if defined (ACE_AS_STATIC_LIBS) && !defined (ACE_SVC_HAS_DLL)
16 # define ACE_SVC_HAS_DLL 0
17 #endif /* ACE_AS_STATIC_LIBS && ACE_SVC_HAS_DLL */
19 #if !defined (ACE_SVC_HAS_DLL)
20 #define ACE_SVC_HAS_DLL 1
21 #endif /* ! ACE_SVC_HAS_DLL */
23 #if defined (ACE_SVC_HAS_DLL)
24 # if (ACE_SVC_HAS_DLL == 1)
25 # if defined (ACE_BUILD_SVC_DLL) || defined (ACE_SVC_BUILD_DLL)
26 # define ACE_Svc_Export ACE_Proper_Export_Flag
27 # define ACE_SVC_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
29 # define ACE_Svc_Export ACE_Proper_Import_Flag
30 # define ACE_SVC_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
31 # endif /* ACE_BUILD_SVC_DLL */
33 # define ACE_Svc_Export
34 # define ACE_SVC_SINGLETON_DECLARATION(T)
35 # endif /* ! ACE_SVC_HAS_DLL == 1 */
37 # define ACE_Svc_Export
38 # define ACE_SVC_SINGLETON_DECLARATION(T)
39 #endif /* ACE_SVC_HAS_DLL */
41 #endif /* ACE_SVC_EXPORT_H */
43 // End of auto generated file.