Loading...
Searching...
No Matches
1#ifndef PROTON_IMPORT_EXPORT_H
2#define PROTON_IMPORT_EXPORT_H 1
35#if defined(PROTON_DECLARE_STATIC)
41# define PN_EXPORT __declspec(dllexport)
42# define PN_IMPORT __declspec(dllimport)
45# define PN_EXPORT __attribute ((visibility ("default")))
50#if defined(qpid_proton_core_EXPORTS) || defined(qpid_proton_EXPORTS)
51# define PN_EXTERN PN_EXPORT
53# define PN_EXTERN PN_IMPORT
57#if defined(qpid_proton_proactor_EXPORTS) || defined(qpid_proton_EXPORTS)
58# define PNP_EXTERN PN_EXPORT
60# define PNP_EXTERN PN_IMPORT
64#if defined(qpid_proton_tls_EXPORTS)
65# define PN_TLS_EXTERN PN_EXPORT
67# define PN_TLS_EXTERN PN_IMPORT
71#if defined(qpid_proton_EXPORTS)
72# define PNX_EXTERN PN_EXPORT
74# define PNX_EXTERN PN_IMPORT
77#if ! defined(PN_USE_DEPRECATED_API)
79# define PN_DEPRECATED(message) __declspec(deprecated(message))
80# elif defined __GNUC__
81# if (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) < 40500
82# define PN_DEPRECATED(message) __attribute__((deprecated))
84# define PN_DEPRECATED(message) __attribute__((deprecated(message)))
89# define PN_DEPRECATED(message)