23 #ifndef OPENPMDAPI_EXPORT 25 #define OPENPMDAPI_EXPORT __declspec(dllexport) 26 #elif defined(__NVCC__) 27 #define OPENPMDAPI_EXPORT 29 #define OPENPMDAPI_EXPORT __attribute__((visibility("default"))) 33 #ifndef OPENPMDAPI_EXPORT_ENUM_CLASS 34 #if defined(__GNUC__) && (__GNUC__ < 6) && !defined(__clang__) && \ 35 !defined(__INTEL_COMPILER) 37 #define OPENPMDAPI_EXPORT_ENUM_CLASS(ECNAME) \ 38 enum class ECNAME : OPENPMDAPI_EXPORT unsigned int 40 #define OPENPMDAPI_EXPORT_ENUM_CLASS(ECNAME) enum class OPENPMDAPI_EXPORT ECNAME