1 #ifndef PROTON_INTERNAL_EXPORT_HPP 2 #define PROTON_INTERNAL_EXPORT_HPP 28 #if defined(WIN32) && !defined(PN_CPP_DECLARE_STATIC) 32 # define PN_CPP_EXPORT __declspec(dllexport) 33 # define PN_CPP_IMPORT __declspec(dllimport) 34 # define PN_CPP_CLASS_EXPORT 35 # define PN_CPP_CLASS_IMPORT 36 #elif defined(__SUNPRO_C) || defined(__SUNPRO_CC) 37 # define PN_CPP_EXPORT __global 38 # define PN_CPP_IMPORT 39 # define PN_CPP_CLASS_EXPORT __global 40 # define PN_CPP_CLASS_IMPORT 45 # define PN_CPP_EXPORT __attribute ((visibility ("default"))) 46 # define PN_CPP_IMPORT 47 # define PN_CPP_CLASS_EXPORT __attribute ((visibility ("default"))) 48 # define PN_CPP_CLASS_IMPORT 52 #ifdef qpid_proton_cpp_EXPORTS 53 # define PN_CPP_EXTERN PN_CPP_EXPORT 54 # define PN_CPP_CLASS_EXTERN PN_CPP_CLASS_EXPORT 56 # define PN_CPP_EXTERN PN_CPP_IMPORT 57 # define PN_CPP_CLASS_EXTERN PN_CPP_CLASS_IMPORT 62 #endif // PROTON_INTERNAL_EXPORT_HPP