Go to the documentation of this file. 7 #ifndef MADARA_LOGGER_EXPORT_H 8 #define MADARA_LOGGER_EXPORT_H 10 #include "ace/config-all.h" 12 #if defined (ACE_AS_STATIC_LIBS) && !defined (MADARA_LOGGER_HAS_DLL) 13 # define MADARA_LOGGER_HAS_DLL 0 16 #if !defined (MADARA_LOGGER_HAS_DLL) 17 # define MADARA_LOGGER_HAS_DLL 1 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) 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) 31 # define MADARA_Logger_Export 32 # define MADARA_LOGGER_SINGLETON_DECLARATION(T) 33 # define MADARA_LOGGER_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) 38 #if !defined (MADARA_LOGGER_NTRACE) 39 # if (ACE_NTRACE == 1) 40 # define MADARA_LOGGER_NTRACE 1 42 # define MADARA_LOGGER_NTRACE 0 46 #if (MADARA_LOGGER_NTRACE == 1) 47 # define MADARA_LOGGER_TRACE(X) 49 # if !defined (ACE_HAS_TRACE) 50 # define ACE_HAS_TRACE 52 # define MADARA_LOGGER_TRACE(X) ACE_TRACE_IMPL(X) 53 # include "ace/Trace.h"