summaryrefslogtreecommitdiff
path: root/ACE/ace/ACE_XtReactor_export.h
blob: b7e6a55cd08aa3f8ccb89ced80652563ad4116aa (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
56
57
58

// -*- C++ -*-
// $Id$
// Definition for Win32 Export directives.
// This file is generated automatically by generate_export_file.pl -s ACE_XtReactor
// ------------------------------
#ifndef ACE_XTREACTOR_EXPORT_H
#define ACE_XTREACTOR_EXPORT_H

#include "ace/config-all.h"

#if defined (ACE_AS_STATIC_LIBS) && !defined (ACE_XTREACTOR_HAS_DLL)
#  define ACE_XTREACTOR_HAS_DLL 0
#endif /* ACE_AS_STATIC_LIBS && ACE_XTREACTOR_HAS_DLL */

#if !defined (ACE_XTREACTOR_HAS_DLL)
#  define ACE_XTREACTOR_HAS_DLL 1
#endif /* ! ACE_XTREACTOR_HAS_DLL */

#if defined (ACE_XTREACTOR_HAS_DLL) && (ACE_XTREACTOR_HAS_DLL == 1)
#  if defined (ACE_XTREACTOR_BUILD_DLL)
#    define ACE_XtReactor_Export ACE_Proper_Export_Flag
#    define ACE_XTREACTOR_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
#    define ACE_XTREACTOR_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
#  else /* ACE_XTREACTOR_BUILD_DLL */
#    define ACE_XtReactor_Export ACE_Proper_Import_Flag
#    define ACE_XTREACTOR_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
#    define ACE_XTREACTOR_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
#  endif /* ACE_XTREACTOR_BUILD_DLL */
#else /* ACE_XTREACTOR_HAS_DLL == 1 */
#  define ACE_XtReactor_Export
#  define ACE_XTREACTOR_SINGLETON_DECLARATION(T)
#  define ACE_XTREACTOR_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
#endif /* ACE_XTREACTOR_HAS_DLL == 1 */

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

#if (ACE_XTREACTOR_NTRACE == 1)
#  define ACE_XTREACTOR_TRACE(X)
#else /* (ACE_XTREACTOR_NTRACE == 1) */
#  if !defined (ACE_HAS_TRACE)
#    define ACE_HAS_TRACE
#  endif /* ACE_HAS_TRACE */
#  define ACE_XTREACTOR_TRACE(X) ACE_TRACE_IMPL(X)
#  include "ace/Trace.h"
#endif /* (ACE_XTREACTOR_NTRACE == 1) */

#endif /* ACE_XTREACTOR_EXPORT_H */

// End of auto generated file.