9 #if defined(IFM3D_STATIC_LIB)
12 # if defined(_MSC_VER)
13 # ifdef IFM3D_DLL_BUILD
14 # define IFM3D_EXPORT __declspec(dllexport)
16 # define IFM3D_EXPORT __declspec(dllimport)
19 # define IFM3D_EXPORT __attribute__((visibility("default")))
23 #if defined(__GNUC__) || defined(__clang__)
24 # define IFM3D_DEPRECATED __attribute__((deprecated))
25 #elif defined(_MSC_VER)
26 # define IFM3D_DEPRECATED __declspec(deprecated)
28 # define IFM3D_DEPRECATED
31 #if defined(__GNUC__) || defined(__clang__)
32 # define IFM3D_NO_EXPORT __attribute__((visibility("hidden")))
34 # define IFM3D_NO_EXPORT