g2o
g2o_types_slam3d_addons_api.h
Go to the documentation of this file.
1 #ifndef G2O_TYPES_SLAM3D_ADDONS_API_H
2 #define G2O_TYPES_SLAM3D_ADDONS_API_H
3 
4 #include "g2o/config.h"
5 
6 #ifdef _MSC_VER
7 // We are using a Microsoft compiler:
8 #ifdef G2O_SHARED_LIBS
9 #ifdef types_slam3d_addons_EXPORTS
10 #define G2O_TYPES_SLAM3D_ADDONS_API __declspec(dllexport)
11 #else
12 #define G2O_TYPES_SLAM3D_ADDONS_API __declspec(dllimport)
13 #endif
14 #else
15 #define G2O_TYPES_SLAM3D_ADDONS_API
16 #endif
17 
18 #else
19 // Not Microsoft compiler so set empty definition:
20 #define G2O_TYPES_SLAM3D_ADDONS_API
21 #endif
22 
23 #endif // G2O_TYPES_SLAM3D_ADDONS_API_H