g2o
g2o_interactive_api.h
Go to the documentation of this file.
1 #ifndef G2O_INTERACTIVE_API_H
2 #define G2O_INTERACTIVE_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 g2o_interactive_library_EXPORTS
10 #define G2O_INTERACTIVE_API __declspec(dllexport)
11 #else
12 #define G2O_INTERACTIVE_API __declspec(dllimport)
13 #endif
14 #else
15 #define G2O_INTERACTIVE_API
16 #endif
17 
18 #else
19 // Not Microsoft compiler so set empty definition:
20 #define G2O_INTERACTIVE_API
21 #endif
22 
23 #endif // G2O_CORE_API_H