Merge pull request #2237 from DOCGroup/jwillemsen-patch-2-1
[ACE_TAO.git] / ACE / Kokyu / kokyu_export.h
blob6dcc6a8ae36000c34ec86edba3f304cc0df5d471
1 // -*- C++ -*-
2 // Definition for Win32 Export directives.
3 // This file is generated automatically by generate_export_file.pl Kokyu
4 // ------------------------------
5 #ifndef KOKYU_EXPORT_H
6 #define KOKYU_EXPORT_H
8 #include "ace/config-all.h"
10 #if defined (ACE_AS_STATIC_LIBS)
11 # if !defined (KOKYU_HAS_DLL)
12 # define KOKYU_HAS_DLL 0
13 # endif /* ! KOKYU_HAS_DLL */
14 #else
15 # if !defined (KOKYU_HAS_DLL)
16 # define KOKYU_HAS_DLL 1
17 # endif /* ! KOKYU_HAS_DLL */
18 #endif
20 #if defined (KOKYU_HAS_DLL) && (KOKYU_HAS_DLL == 1)
21 # if defined (KOKYU_BUILD_DLL)
22 # define Kokyu_Export ACE_Proper_Export_Flag
23 # define KOKYU_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
24 # define KOKYU_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
25 # else /* KOKYU_BUILD_DLL */
26 # define Kokyu_Export ACE_Proper_Import_Flag
27 # define KOKYU_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
28 # define KOKYU_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
29 # endif /* KOKYU_BUILD_DLL */
30 #else /* KOKYU_HAS_DLL == 1 */
31 # define Kokyu_Export
32 # define KOKYU_SINGLETON_DECLARATION(T)
33 # define KOKYU_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
34 #endif /* KOKYU_HAS_DLL == 1 */
36 // Set KOKYU_NTRACE = 0 to turn on library specific tracing even if
37 // tracing is turned off for ACE.
38 #if !defined (KOKYU_NTRACE)
39 # if (ACE_NTRACE == 1)
40 # define KOKYU_NTRACE 1
41 # else /* (ACE_NTRACE == 1) */
42 # define KOKYU_NTRACE 0
43 # endif /* (ACE_NTRACE == 1) */
44 #endif /* !KOKYU_NTRACE */
46 #if (KOKYU_NTRACE == 1)
47 # define KOKYU_TRACE(X)
48 #else /* (KOKYU_NTRACE == 1) */
49 # define KOKYU_TRACE(X) ACE_TRACE_IMPL(X)
50 #endif /* (KOKYU_NTRACE == 1) */
52 #endif /* KOKYU_EXPORT_H */
54 // End of auto generated file.