Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / ACE / ace / ACE_export.h
blob7cb9fa2bb9e6248bf15fd308ca6226290ed42b32
1 // -*- C++ -*-
2 // Definition for Win32 Export directives.
3 // This file is generated automatically by
4 // generate_export_file.pl
5 // ------------------------------
7 #ifndef ACE_EXPORT_H
8 #define ACE_EXPORT_H
10 #include /**/ "ace/config-lite.h"
12 #if defined (ACE_AS_STATIC_LIBS)
14 # if !defined (ACE_HAS_DLL)
15 # define ACE_HAS_DLL 0
16 # endif /* ! ACE_HAS_DLL */
17 #else
18 # if !defined (ACE_HAS_DLL)
19 # define ACE_HAS_DLL 1
20 # endif /* ! ACE_HAS_DLL */
21 #endif /* ACE_AS_STATIC_LIB */
23 #if defined (ACE_HAS_DLL)
24 # if (ACE_HAS_DLL == 1)
25 # if defined (ACE_BUILD_DLL)
26 # define ACE_Export ACE_Proper_Export_Flag
27 # define ACE_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
28 # define ACE_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
29 # else
30 # define ACE_Export ACE_Proper_Import_Flag
31 # define ACE_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
32 # define ACE_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
33 # endif /* ACE_BUILD_DLL */
34 # else
35 # define ACE_Export
36 # define ACE_SINGLETON_DECLARATION(T)
37 # define ACE_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
38 # endif /* ! ACE_HAS_DLL == 1 */
39 #else
40 # define ACE_Export
41 # define ACE_SINGLETON_DECLARATION(T)
42 # define ACE_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
43 #endif /* ACE_HAS_DLL */
45 #define ACE_NAMESPACE_STORAGE_CLASS extern ACE_EXPORT_MACRO
47 #if defined (__ACE_INLINE__)
48 # define ACE_NAMESPACE_INLINE_FUNCTION inline
49 # define ACE_INLINE_TEMPLATE_FUNCTION inline
50 #else
51 # define ACE_NAMESPACE_INLINE_FUNCTION ACE_NAMESPACE_STORAGE_CLASS
52 // Microsoft Visual C++ will accept 'extern'; others refuse.
53 # if defined (_MSC_VER) || defined (__BORLANDC__)
54 # define ACE_INLINE_TEMPLATE_FUNCTION ACE_Export
55 # else
56 # define ACE_INLINE_TEMPLATE_FUNCTION
57 # endif
58 #endif
60 #endif /* ACE_EXPORT_H */
62 // End of auto generated file.