
#ifndef PHOSPHORPROTOCOL_EXPORT_H
#define PHOSPHORPROTOCOL_EXPORT_H

#ifdef PHOSPHORPROTOCOL_STATIC_DEFINE
#  define PHOSPHORPROTOCOL_EXPORT
#  define PHOSPHORPROTOCOL_NO_EXPORT
#else
#  ifndef PHOSPHORPROTOCOL_EXPORT
#    ifdef PhosphorProtocol_EXPORTS
        /* We are building this library */
#      define PHOSPHORPROTOCOL_EXPORT __attribute__((visibility("default")))
#    else
        /* We are using this library */
#      define PHOSPHORPROTOCOL_EXPORT __attribute__((visibility("default")))
#    endif
#  endif

#  ifndef PHOSPHORPROTOCOL_NO_EXPORT
#    define PHOSPHORPROTOCOL_NO_EXPORT __attribute__((visibility("hidden")))
#  endif
#endif

#ifndef PHOSPHORPROTOCOL_DEPRECATED
#  define PHOSPHORPROTOCOL_DEPRECATED __attribute__ ((__deprecated__))
#endif

#ifndef PHOSPHORPROTOCOL_DEPRECATED_EXPORT
#  define PHOSPHORPROTOCOL_DEPRECATED_EXPORT PHOSPHORPROTOCOL_EXPORT PHOSPHORPROTOCOL_DEPRECATED
#endif

#ifndef PHOSPHORPROTOCOL_DEPRECATED_NO_EXPORT
#  define PHOSPHORPROTOCOL_DEPRECATED_NO_EXPORT PHOSPHORPROTOCOL_NO_EXPORT PHOSPHORPROTOCOL_DEPRECATED
#endif

/* NOLINTNEXTLINE(readability-avoid-unconditional-preprocessor-if) */
#if 0 /* DEFINE_NO_DEPRECATED */
#  ifndef PHOSPHORPROTOCOL_NO_DEPRECATED
#    define PHOSPHORPROTOCOL_NO_DEPRECATED
#  endif
#endif

#endif /* PHOSPHORPROTOCOL_EXPORT_H */
