1 #ifndef IFM3D_PCICCLIENT_EXPORT_HPP
2 #define IFM3D_PCICCLIENT_EXPORT_HPP
4 #if defined(IFM3D_PCICCLIENT_STATIC_LIB)
5 # define IFM3D_PCICCLIENT_EXPORT
8 # ifdef IFM3D_PCICCLIENT_DLL_BUILD
9 # define IFM3D_PCICCLIENT_EXPORT __declspec(dllexport)
11 # define IFM3D_PCICCLIENT_EXPORT __declspec(dllimport)
14 # define IFM3D_PCICCLIENT_EXPORT __attribute__((visibility("default")))
18 #if defined(__GNUC__) || defined(__clang__)
19 # define IFM3D_PCICCLIENT_DEPRECATED __attribute__((deprecated))
20 #elif defined(_MSC_VER)
21 # define IFM3D_PCICCLIENT_DEPRECATED __declspec(deprecated)
23 # define IFM3D_PCICCLIENT_DEPRECATED
26 #if defined(__GNUC__) || defined(__clang__)
27 # define IFM3D_PCICCLIENT_LOCAL __attribute__((visibility("hidden")))
29 # define IFM3D_PCICCLIENT_LOCAL