
#ifndef KLDAP_CORE_EXPORT_H
#define KLDAP_CORE_EXPORT_H

#ifdef KLDAP_CORE_STATIC_DEFINE
#  define KLDAP_CORE_EXPORT
#  define KLDAP_CORE_NO_EXPORT
#else
#  ifndef KLDAP_CORE_EXPORT
#    ifdef KPim6LdapCore_EXPORTS
        /* We are building this library */
#      define KLDAP_CORE_EXPORT __attribute__((visibility("default")))
#    else
        /* We are using this library */
#      define KLDAP_CORE_EXPORT __attribute__((visibility("default")))
#    endif
#  endif

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

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

#ifndef KLDAP_CORE_DEPRECATED_EXPORT
#  define KLDAP_CORE_DEPRECATED_EXPORT KLDAP_CORE_EXPORT KLDAP_CORE_DEPRECATED
#endif

#ifndef KLDAP_CORE_DEPRECATED_NO_EXPORT
#  define KLDAP_CORE_DEPRECATED_NO_EXPORT KLDAP_CORE_NO_EXPORT KLDAP_CORE_DEPRECATED
#endif

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

#endif /* KLDAP_CORE_EXPORT_H */
