MADARA  3.1.8
MADARA_Logger_export.h
Go to the documentation of this file.
1 
2 // -*- C++ -*-
3 // $Id$
4 // Definition for Win32 Export directives.
5 // This file is generated automatically by generate_export_file.pl MADARA_Logger
6 // ------------------------------
7 #ifndef MADARA_LOGGER_EXPORT_H
8 #define MADARA_LOGGER_EXPORT_H
9 
10 #include "ace/config-all.h"
11 
12 #if defined (ACE_AS_STATIC_LIBS) && !defined (MADARA_LOGGER_HAS_DLL)
13 # define MADARA_LOGGER_HAS_DLL 0
14 #endif /* ACE_AS_STATIC_LIBS && MADARA_LOGGER_HAS_DLL */
15 
16 #if !defined (MADARA_LOGGER_HAS_DLL)
17 # define MADARA_LOGGER_HAS_DLL 1
18 #endif /* ! MADARA_LOGGER_HAS_DLL */
19 
20 #if defined (MADARA_LOGGER_HAS_DLL) && (MADARA_LOGGER_HAS_DLL == 1)
21 # if defined (MADARA_LOGGER_BUILD_DLL)
22 # define MADARA_Logger_Export ACE_Proper_Export_Flag
23 # define MADARA_LOGGER_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
24 # define MADARA_LOGGER_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
25 # else /* MADARA_LOGGER_BUILD_DLL */
26 # define MADARA_Logger_Export ACE_Proper_Import_Flag
27 # define MADARA_LOGGER_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
28 # define MADARA_LOGGER_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
29 # endif /* MADARA_LOGGER_BUILD_DLL */
30 #else /* MADARA_LOGGER_HAS_DLL == 1 */
31 # define MADARA_Logger_Export
32 # define MADARA_LOGGER_SINGLETON_DECLARATION(T)
33 # define MADARA_LOGGER_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
34 #endif /* MADARA_LOGGER_HAS_DLL == 1 */
35 
36 // Set MADARA_LOGGER_NTRACE = 0 to turn on library specific tracing even if
37 // tracing is turned off for ACE.
38 #if !defined (MADARA_LOGGER_NTRACE)
39 # if (ACE_NTRACE == 1)
40 # define MADARA_LOGGER_NTRACE 1
41 # else /* (ACE_NTRACE == 1) */
42 # define MADARA_LOGGER_NTRACE 0
43 # endif /* (ACE_NTRACE == 1) */
44 #endif /* !MADARA_LOGGER_NTRACE */
45 
46 #if (MADARA_LOGGER_NTRACE == 1)
47 # define MADARA_LOGGER_TRACE(X)
48 #else /* (MADARA_LOGGER_NTRACE == 1) */
49 # if !defined (ACE_HAS_TRACE)
50 # define ACE_HAS_TRACE
51 # endif /* ACE_HAS_TRACE */
52 # define MADARA_LOGGER_TRACE(X) ACE_TRACE_IMPL(X)
53 # include "ace/Trace.h"
54 #endif /* (MADARA_LOGGER_NTRACE == 1) */
55 
56 #endif /* MADARA_LOGGER_EXPORT_H */
57 
58 // End of auto generated file.