Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / TAO_Export.h
blob1ca351b2cf813c011d9794cea393e8914d176ff4
2 // -*- C++ -*-
3 // Definition for Win32 Export directives.
4 // This file is generated automatically by generate_export_file.pl
5 // ------------------------------
6 #ifndef TAO_EXPORT_H
7 #define TAO_EXPORT_H
9 #include "ace/config-all.h"
11 #if defined (TAO_AS_STATIC_LIBS)
12 # if !defined (TAO_HAS_DLL)
13 # define TAO_HAS_DLL 0
14 # endif /* ! TAO_HAS_DLL */
15 #else
16 # if !defined (TAO_HAS_DLL)
17 # define TAO_HAS_DLL 1
18 # endif /* ! TAO_HAS_DLL */
19 #endif
21 #if defined (TAO_HAS_DLL) && (TAO_HAS_DLL == 1)
22 # if defined (TAO_BUILD_DLL)
23 # define TAO_Export ACE_Proper_Export_Flag
24 # define TAO_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
25 # define TAO_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
26 # else /* TAO_BUILD_DLL */
27 # define TAO_Export ACE_Proper_Import_Flag
28 # define TAO_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
29 # define TAO_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
30 # endif /* TAO_BUILD_DLL */
31 #else /* TAO_HAS_DLL == 1 */
32 # define TAO_Export
33 # define TAO_SINGLETON_DECLARATION(T)
34 # define TAO_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
35 #endif /* TAO_HAS_DLL == 1 */
37 #endif /* TAO_EXPORT_H */
39 // End of auto generated file.