1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
#ifndef APPSTREAMQT_EXPORT_H
#define APPSTREAMQT_EXPORT_H
// clang-format off
#ifdef APPSTREAMQT_STATIC_DEFINE
# define APPSTREAMQT_EXPORT
# define APPSTREAMQT_NO_EXPORT
#else
# ifndef APPSTREAMQT_EXPORT
# ifdef AppStreamQt_EXPORTS
/* We are building this library */
# define APPSTREAMQT_EXPORT __attribute__((visibility("default")))
# else
/* We are using this library */
# define APPSTREAMQT_EXPORT __attribute__((visibility("default")))
# endif
# endif
# ifndef APPSTREAMQT_NO_EXPORT
# define APPSTREAMQT_NO_EXPORT __attribute__((visibility("hidden")))
# endif
#endif
#ifndef APPSTREAMQT_DEPRECATED
# define APPSTREAMQT_DEPRECATED __attribute__ ((__deprecated__))
#endif
#ifndef APPSTREAMQT_DEPRECATED_EXPORT
# define APPSTREAMQT_DEPRECATED_EXPORT APPSTREAMQT_EXPORT APPSTREAMQT_DEPRECATED
#endif
#ifndef APPSTREAMQT_DEPRECATED_NO_EXPORT
# define APPSTREAMQT_DEPRECATED_NO_EXPORT APPSTREAMQT_NO_EXPORT APPSTREAMQT_DEPRECATED
#endif
// clang-format on
#endif
|