Go to the documentation of this file.
8 #ifndef PYIMATHEXPORT_H
9 #define PYIMATHEXPORT_H
11 #if defined(IMATH_DLL)
12 #if defined(PLATFORM_VISIBILITY_AVAILABLE)
13 #define PYIMATH_EXPORT __attribute__((visibility("default")))
14 #define PYIMATH_EXPORT __attribute__((visibility("default")))
15 #elif defined(_MSC_VER)
16 #if defined(PYIMATH_BUILD)
17 #define PYIMATH_EXPORT __declspec(dllexport)
19 #define PYIMATH_EXPORT __declspec(dllimport)
22 #define PYIMATH_EXPORT
25 #define PYIMATH_EXPORT
28 #endif // #ifndef PYIMATHEXPORT_H