Computer Assisted Medical Intervention Tool Kit  version 5.2
PMLComponentAPI.h
Go to the documentation of this file.
1 #if defined(_WIN32) // MSVC and mingw
2 
3 #ifdef COMPILE_PML_COMPONENT_API
4 #define PML_COMPONENT_API __declspec(dllexport)
5 #else
6 #define PML_COMPONENT_API __declspec(dllimport)
7 #endif // COMPILE_PML_COMPONENT_API
8 
9 #else // for all other platforms PML_COMPONENT_API is defined to be "nothing"
10 
11 #ifndef PML_COMPONENT_API
12 #define PML_COMPONENT_API
13 #endif // COMPILE_PML_COMPONENT_API
14 
15 #endif // MSVC and mingw