3 //=============================================================================
5 * @file MC_Test_Utilities_export.h
7 * @author Jeff Parsons <j.parsons@vanderbilt.edu>
9 //=============================================================================
11 // Definition for export directives.
12 // ------------------------------
13 #ifndef MC_TEST_UTILITIES_EXPORT_H
14 #define MC_TEST_UTILITIES_EXPORT_H
16 #include "ace/config-all.h"
18 #if defined (ACE_AS_STATIC_LIBS)
19 # if !defined (MC_TEST_UTILITIES_HAS_DLL)
20 # define MC_TEST_UTILITIES_HAS_DLL 0
21 # endif /* ! MC_TEST_UTILITIES_HAS_DLL */
23 # if !defined (MC_TEST_UTILITIES_HAS_DLL)
24 # define MC_TEST_UTILITIES_HAS_DLL 1
25 # endif /* ! MC_TEST_UTILITIES_HAS_DLL */
26 #endif /* ACE_AS_STATIC_LIB */
28 #if defined (MC_TEST_UTILITIES_HAS_DLL) && (MC_TEST_UTILITIES_HAS_DLL == 1)
29 # if defined (MC_TEST_UTILITIES_BUILD_DLL)
30 # define MC_TEST_UTILITIES_Export ACE_Proper_Export_Flag
31 # define MC_TEST_UTILITIES_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
32 # define MC_TEST_UTILITIES_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
33 # else /* MC_TEST_UTILITIES_BUILD_DLL */
34 # define MC_TEST_UTILITIES_Export ACE_Proper_Import_Flag
35 # define MC_TEST_UTILITIES_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
36 # define MC_TEST_UTILITIES_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
37 # endif /* MC_TEST_UTILITIES_BUILD_DLL */
38 #else /* MC_TEST_UTILITIES_HAS_DLL == 1 */
39 # define MC_TEST_UTILITIES_Export
40 # define MC_TEST_UTILITIES_SINGLETON_DECLARATION(T)
41 # define MC_TEST_UTILITIES_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
42 #endif /* MC_TEST_UTILITIES_HAS_DLL == 1 */
44 #endif /* MC_TEST_UTILITIES_EXPORT_H */