Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007 #ifndef MACI_EXPORT_H
00008 #define MACI_EXPORT_H
00009
00010 #include <acsutil.h>
00011
00012 #if defined (ACS_HAS_STATIC_LIBS) && !defined (MACI_HAS_DLL)
00013 # define MACI_HAS_DLL 0
00014 #endif
00015
00016 #if !defined (MACI_HAS_DLL)
00017 # define MACI_HAS_DLL 1
00018 #endif
00019
00020 #if defined (MACI_HAS_DLL) && (MACI_HAS_DLL == 1)
00021 # if defined (MACI_BUILD_DLL)
00022 # define maci_EXPORT ACS_DLL_EXPORT
00023 # define MACI_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
00024 # define MACI_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
00025 # else
00026 # define maci_EXPORT ACS_DLL_IMPORT
00027 # define MACI_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
00028 # define MACI_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
00029 # endif
00030 #else
00031 # define maci_EXPORT
00032 # define MACI_SINGLETON_DECLARATION(T)
00033 # define MACI_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
00034 #endif
00035
00036 #endif
00037
00038