mirror of
https://github.com/qpdf/qpdf.git
synced 2024-05-30 17:00:51 +00:00
DLL.h: remove distinction between QPDF_DLL_CLASS and QPDF_DLL for mingw
This commit is contained in:
parent
064a90da2d
commit
6b114684c2
|
@ -31,12 +31,14 @@
|
||||||
|
|
||||||
#if (defined _WIN32 || defined __CYGWIN__) && defined(DLL_EXPORT)
|
#if (defined _WIN32 || defined __CYGWIN__) && defined(DLL_EXPORT)
|
||||||
# define QPDF_DLL __declspec(dllexport)
|
# define QPDF_DLL __declspec(dllexport)
|
||||||
# define QPDF_DLL_CLASS
|
#elif defined __GNUC__
|
||||||
#elif __GNUC__ >= 4
|
|
||||||
# define QPDF_DLL __attribute__ ((visibility ("default")))
|
# define QPDF_DLL __attribute__ ((visibility ("default")))
|
||||||
# define QPDF_DLL_CLASS __attribute__ ((visibility ("default")))
|
|
||||||
#else
|
#else
|
||||||
# define QPDF_DLL
|
# define QPDF_DLL
|
||||||
|
#endif
|
||||||
|
#ifdef __GNUC__
|
||||||
|
# define QPDF_DLL_CLASS QPDF_DLL
|
||||||
|
#else
|
||||||
# define QPDF_DLL_CLASS
|
# define QPDF_DLL_CLASS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user