mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 02:49:00 +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)
|
||||
# define QPDF_DLL __declspec(dllexport)
|
||||
# define QPDF_DLL_CLASS
|
||||
#elif __GNUC__ >= 4
|
||||
#elif defined __GNUC__
|
||||
# define QPDF_DLL __attribute__ ((visibility ("default")))
|
||||
# define QPDF_DLL_CLASS __attribute__ ((visibility ("default")))
|
||||
#else
|
||||
# define QPDF_DLL
|
||||
#endif
|
||||
#ifdef __GNUC__
|
||||
# define QPDF_DLL_CLASS QPDF_DLL
|
||||
#else
|
||||
# define QPDF_DLL_CLASS
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user