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 40 # define PN_CPP_EXPORT __attribute ((visibility ("default"))) 41 # define PN_CPP_IMPORT 42 # define PN_CPP_CLASS_EXPORT __attribute ((visibility ("default"))) 43 # define PN_CPP_CLASS_IMPORT 47 #ifdef qpid_proton_cpp_EXPORTS 48 # define PN_CPP_EXTERN PN_CPP_EXPORT 49 # define PN_CPP_CLASS_EXTERN PN_CPP_CLASS_EXPORT 51 # define PN_CPP_EXTERN PN_CPP_IMPORT 52 # define PN_CPP_CLASS_EXTERN PN_CPP_CLASS_IMPORT 57 #endif // PROTON_INTERNAL_EXPORT_HPP