blob: 2e2f6ff8b73f82214cf112c16c71fa855efb28d6 [file] [log] [blame]
/*
* This file is used to set the poppler_qt4_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_QT4_LIB_EXPORT __declspec(dllexport)
# define _POPPLER_QT4_LIB_IMPORT __declspec(dllimport)
#elif defined(__GNUC__)
# define _POPPLER_QT4_LIB_EXPORT __attribute__((visibility("default")))
# define _POPPLER_QT4_LIB_IMPORT
#else
# define _POPPLER_QT4_LIB_EXPORT
# define _POPPLER_QT4_LIB_IMPORT
#endif
#ifdef poppler_qt4_EXPORTS
# define POPPLER_QT4_EXPORT _POPPLER_QT4_LIB_EXPORT
#else
# define POPPLER_QT4_EXPORT _POPPLER_QT4_LIB_IMPORT
#endif