From 67dd48a343341247497d4c1a2aa1c3405f1d9796 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 23 Sep 2017 00:00:43 -0500 Subject: [PATCH] libpkgconf: api: handle DLL_EXPORT libtool case on mingw (closes #141) --- libpkgconf/libpkgconf-api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpkgconf/libpkgconf-api.h b/libpkgconf/libpkgconf-api.h index 1c4fb73..d6ba409 100644 --- a/libpkgconf/libpkgconf-api.h +++ b/libpkgconf/libpkgconf-api.h @@ -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)