Teuchos - Trilinos Tools Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Teuchos_DLLExportMacro.h
1 
2 #if defined (_WIN32) && defined (BUILD_SHARED_LIBS)
3 # if defined(TEUCHOSCORE_LIB_EXPORTS_MODE)
4 # define TEUCHOSCORE_LIB_DLL_EXPORT __declspec(dllexport)
5 # else
6 # define TEUCHOSCORE_LIB_DLL_EXPORT __declspec(dllimport)
7 # endif
8 #else
9 # define TEUCHOSCORE_LIB_DLL_EXPORT
10 #endif
11 
12 #if defined (_WIN32) && defined (BUILD_SHARED_LIBS)
13 # if defined(TEUCHOSCOMM_LIB_EXPORTS_MODE)
14 # define TEUCHOSCOMM_LIB_DLL_EXPORT __declspec(dllexport)
15 # else
16 # define TEUCHOSCOMM_LIB_DLL_EXPORT __declspec(dllimport)
17 # endif
18 #else
19 # define TEUCHOSCOMM_LIB_DLL_EXPORT
20 #endif
21 
22 #if defined (_WIN32) && defined (BUILD_SHARED_LIBS)
23 # if defined(TEUCHOSPARAMETERLIST_LIB_EXPORTS_MODE)
24 # define TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT __declspec(dllexport)
25 # else
26 # define TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT __declspec(dllimport)
27 # endif
28 #else
29 # define TEUCHOSPARAMETERLIST_LIB_DLL_EXPORT
30 #endif
31 
32 #if defined (_WIN32) && defined (BUILD_SHARED_LIBS)
33 # if defined(TEUCHOSNUMERICS_LIB_EXPORTS_MODE)
34 # define TEUCHOSNUMERICS_LIB_DLL_EXPORT __declspec(dllexport)
35 # else
36 # define TEUCHOSNUMERICS_LIB_DLL_EXPORT __declspec(dllimport)
37 # endif
38 #else
39 # define TEUCHOSNUMERICS_LIB_DLL_EXPORT
40 #endif
41 
42 /* Defining this to allow the backwards compatibility testing to work. This is not needed for library code */
43 #define TEUCHOS_LIB_DLL_EXPORT
44 
45 /* There is not export stuff used in the remainder subpackage yet. */