/*
 * This file is used to set the poppler_qt6_EXPORT macros right.
 * This is needed for setting the visibility on windows, it will have no effect on other platforms.
 */
#if defined(_WIN32)
#    define _POPPLER_QT6_LIB_EXPORT __declspec(dllexport)
#    define _POPPLER_QT6_LIB_IMPORT __declspec(dllimport)
#elif defined(__GNUC__)
#    define _POPPLER_QT6_LIB_EXPORT __attribute__((visibility("default")))
#    define _POPPLER_QT6_LIB_IMPORT
#else
#    define _POPPLER_QT6_LIB_EXPORT
#    define _POPPLER_QT6_LIB_IMPORT
#endif

#ifdef poppler_qt6_EXPORTS
#    define POPPLER_QT6_EXPORT _POPPLER_QT6_LIB_EXPORT
#else
#    define POPPLER_QT6_EXPORT _POPPLER_QT6_LIB_IMPORT
#endif
