MADARA  3.2.3
OsplTransportExport.h
Go to the documentation of this file.
1 
2 #ifndef OSPL_EXPORT_H
3 #define OSPL_EXPORT_H
4 
5 #if defined (MADARA_AS_STATIC_LIBS) && !defined (OSPL_HAS_DLL)
6 # define OSPL_HAS_DLL 0
7 #endif /* OSPL_AS_STATIC_LIBS && OSPL_HAS_DLL */
8 
9 #if !defined (OSPL_HAS_DLL)
10 # define OSPL_HAS_DLL 1
11 #endif /* ! OSPL_HAS_DLL */
12 
13 #if defined (_WIN32)
14 # if !defined (OSPL_Proper_Export_Flag)
15 # define OSPL_Proper_Export_Flag __declspec (dllexport)
16 # define OSPL_Proper_Import_Flag __declspec (dllimport)
17 # endif
18 #else
19 # if !defined (OSPL_Proper_Export_Flag)
20 # define OSPL_Proper_Export_Flag
21 # define OSPL_Proper_Import_Flag
22 # endif
23 #endif
24 
25 #if defined (OSPL_HAS_DLL) && (OSPL_HAS_DLL == 1)
26 # if defined (OSPL_BUILD_DLL)
27 # define OSPL_Export OSPL_Proper_Export_Flag
28 # else /* OSPL_BUILD_DLL */
29 # define OSPL_Export OSPL_Proper_Import_Flag
30 # endif /* OSPL_BUILD_DLL */
31 #else /* OSPL_HAS_DLL == 1 */
32 # define OSPL_Export
33 #endif /* OSPL_HAS_DLL == 1 */
34 
35 #endif /* OSPL_EXPORT_H */
36 
37 // End of auto generated file.