mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 04:37:49 +08:00
17 lines
443 B
Diff
17 lines
443 B
Diff
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
|