summaryrefslogtreecommitdiff
path: root/ACE/Kokyu/kokyu_export.h
blob: 8b15053da150d6fa233c0b0295fef4df0ebe798a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// -*- C++ -*-
// $Id$
// Definition for Win32 Export directives.
// This file is generated automatically by generate_export_file.pl Kokyu
// ------------------------------
#ifndef KOKYU_EXPORT_H
#define KOKYU_EXPORT_H

#include "ace/config-all.h"

#if defined (ACE_AS_STATIC_LIBS)
#  if !defined (KOKYU_HAS_DLL)
#    define KOKYU_HAS_DLL 0
#  endif /* ! KOKYU_HAS_DLL */
#else
#  if !defined (KOKYU_HAS_DLL)
#    define KOKYU_HAS_DLL 1
#  endif /* ! KOKYU_HAS_DLL */
#endif

#if defined (KOKYU_HAS_DLL) && (KOKYU_HAS_DLL == 1)
#  if defined (KOKYU_BUILD_DLL)
#    define Kokyu_Export ACE_Proper_Export_Flag
#    define KOKYU_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
#    define KOKYU_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
#  else /* KOKYU_BUILD_DLL */
#    define Kokyu_Export ACE_Proper_Import_Flag
#    define KOKYU_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
#    define KOKYU_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
#  endif /* KOKYU_BUILD_DLL */
#else /* KOKYU_HAS_DLL == 1 */
#  define Kokyu_Export
#  define KOKYU_SINGLETON_DECLARATION(T)
#  define KOKYU_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
#endif /* KOKYU_HAS_DLL == 1 */

// Set KOKYU_NTRACE = 0 to turn on library specific tracing even if
// tracing is turned off for ACE.
#if !defined (KOKYU_NTRACE)
#  if (ACE_NTRACE == 1)
#    define KOKYU_NTRACE 1
#  else /* (ACE_NTRACE == 1) */
#    define KOKYU_NTRACE 0
#  endif /* (ACE_NTRACE == 1) */
#endif /* !KOKYU_NTRACE */

#if (KOKYU_NTRACE == 1)
#  define KOKYU_TRACE(X)
#else /* (KOKYU_NTRACE == 1) */
#  define KOKYU_TRACE(X) ACE_TRACE_IMPL(X)
#endif /* (KOKYU_NTRACE == 1) */

#endif /* KOKYU_EXPORT_H */

// End of auto generated file.