
#ifndef DATABASE_API_H
#define DATABASE_API_H

#ifdef LIBDATABASE_STATIC_DEFINE
#  define DATABASE_API
#  define LIBDATABASE_NO_EXPORT
#else
#  ifndef DATABASE_API
#    ifdef LibDatabase_EXPORTS
        /* We are building this library */
#      define DATABASE_API __attribute__((visibility("default")))
#    else
        /* We are using this library */
#      define DATABASE_API __attribute__((visibility("default")))
#    endif
#  endif

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

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

#ifndef LIBDATABASE_DEPRECATED_EXPORT
#  define LIBDATABASE_DEPRECATED_EXPORT DATABASE_API LIBDATABASE_DEPRECATED
#endif

#ifndef LIBDATABASE_DEPRECATED_NO_EXPORT
#  define LIBDATABASE_DEPRECATED_NO_EXPORT LIBDATABASE_NO_EXPORT LIBDATABASE_DEPRECATED
#endif

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

#endif /* DATABASE_API_H */
