3 // Definition for Win32 Export directives.
4 // This file is generated automatically by generate_export_file.pl
5 // ------------------------------
6 #ifndef TAO_PI_SERVER_EXPORT_H
7 #define TAO_PI_SERVER_EXPORT_H
9 #include "ace/config-all.h"
11 #if defined (TAO_AS_STATIC_LIBS)
12 # if !defined (TAO_PI_SERVER_HAS_DLL)
13 # define TAO_PI_SERVER_HAS_DLL 0
14 # endif /* ! TAO_PI_SERVER_HAS_DLL */
16 # if !defined (TAO_PI_SERVER_HAS_DLL)
17 # define TAO_PI_SERVER_HAS_DLL 1
18 # endif /* ! TAO_PI_SERVER_HAS_DLL */
21 #if defined (TAO_PI_SERVER_HAS_DLL) && (TAO_PI_SERVER_HAS_DLL == 1)
22 # if defined (TAO_PI_SERVER_BUILD_DLL)
23 # define TAO_PI_Server_Export ACE_Proper_Export_Flag
24 # define TAO_PI_SERVER_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
25 # define TAO_PI_SERVER_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
26 # else /* TAO_PI_SERVER_BUILD_DLL */
27 # define TAO_PI_Server_Export ACE_Proper_Import_Flag
28 # define TAO_PI_SERVER_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
29 # define TAO_PI_SERVER_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
30 # endif /* TAO_PI_SERVER_BUILD_DLL */
31 #else /* TAO_PI_SERVER_HAS_DLL == 1 */
32 # define TAO_PI_Server_Export
33 # define TAO_PI_SERVER_SINGLETON_DECLARATION(T)
34 # define TAO_PI_SERVER_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
35 #endif /* TAO_PI_SERVER_HAS_DLL == 1 */
37 #endif /* TAO_PI_SERVER_EXPORT_H */
39 // End of auto generated file.