diff --git a/config.h.win32 b/config.h.win32 index 31b330f..e5ed86c 100644 --- a/config.h.win32 +++ b/config.h.win32 @@ -147,7 +147,11 @@ /* defines how to decorate public symbols while building */ #ifdef _MSC_VER +#ifdef PANGO_EXPORTS #define _PANGO_EXTERN __declspec(dllexport) extern #else +#define _PANGO_EXTERN extern +#endif +#else #define _PANGO_EXTERN __attribute__((visibility("default"))) __declspec(dllexport) extern #endif