MADARA  3.4.1
NddsTransportExport.h
Go to the documentation of this file.
1 
2 #ifndef NDDS_EXPORT_H
3 #define NDDS_EXPORT_H
4 
5 #if defined(MADARA_AS_STATIC_LIBS) && !defined(NDDS_HAS_DLL)
6 #define NDDS_HAS_DLL 0
7 #endif /* NDDS_AS_STATIC_LIBS && NDDS_HAS_DLL */
8 
9 #if !defined(NDDS_HAS_DLL)
10 #define NDDS_HAS_DLL 1
11 #endif /* ! NDDS_HAS_DLL */
12 
13 #if defined(_WIN32)
14 #if !defined(NDDS_Proper_Export_Flag)
15 #define NDDS_Proper_Export_Flag __declspec(dllexport)
16 #define NDDS_Proper_Import_Flag __declspec(dllimport)
17 #endif
18 #else
19 #if !defined(NDDS_Proper_Export_Flag)
20 #define NDDS_Proper_Export_Flag
21 #define NDDS_Proper_Import_Flag
22 #endif
23 #endif
24 
25 #if defined(NDDS_HAS_DLL) && (NDDS_HAS_DLL == 1)
26 #if defined(NDDS_BUILD_DLL)
27 #define NDDS_Export NDDS_Proper_Export_Flag
28 #else /* NDDS_BUILD_DLL */
29 #define NDDS_Export NDDS_Proper_Import_Flag
30 #endif /* NDDS_BUILD_DLL */
31 #else /* NDDS_HAS_DLL == 1 */
32 #define NDDS_Export
33 #endif /* NDDS_HAS_DLL == 1 */
34 
35 #endif /* NDDS_EXPORT_H */
36 
37 // End of auto generated file.