1 #ifndef PN_CPP_IMPORTEXPORT_H
2 #define PN_CPP_IMPORTEXPORT_H
28 #if defined(WIN32) && !defined(PN_CPP_DECLARE_STATIC)
32 # define PN_CPP_EXPORT __declspec(dllexport)
33 # define PN_CPP_IMPORT __declspec(dllimport)
38 # define PN_CPP_EXPORT
39 # define PN_CPP_IMPORT
43 #ifdef qpid_proton_cpp_EXPORTS
44 # define PN_CPP_EXTERN PN_CPP_EXPORT
46 # define PN_CPP_EXTERN PN_CPP_IMPORT
51 #endif // PN_CPP_IMPORTEXPORT_H