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__) && !defined(__INTEL_COMPILER) 36 # define OPENPMDAPI_EXPORT_ENUM_CLASS(ECNAME) enum class ECNAME : OPENPMDAPI_EXPORT unsigned int 38 # define OPENPMDAPI_EXPORT_ENUM_CLASS(ECNAME) enum class OPENPMDAPI_EXPORT ECNAME