libpkgconf: api: handle DLL_EXPORT libtool case on mingw (closes #141)

pull/144/head
William Pitcock 2017-09-23 00:00:43 -05:00
parent 24c1439d52
commit 67dd48a343
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
#if defined(PKGCONFIG_IS_STATIC)
# define PKGCONF_API
#elif defined(_WIN32) || defined(_WIN64)
# ifdef LIBPKGCONF_EXPORT
# if defined(LIBPKGCONF_EXPORT) || defined(DLL_EXPORT)
# define PKGCONF_API __declspec(dllexport)
# else
# define PKGCONF_API __declspec(dllimport)