summaryrefslogtreecommitdiff
path: root/config.h.win32.in
diff options
context:
space:
mode:
Diffstat (limited to 'config.h.win32.in')
-rw-r--r--config.h.win32.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/config.h.win32.in b/config.h.win32.in
index 15dadbab..4f05e112 100644
--- a/config.h.win32.in
+++ b/config.h.win32.in
@@ -144,3 +144,10 @@
/* Version number of package */
#define VERSION "@PANGO_VERSION@"
+
+/* defines how to decorate public symbols while building */
+#ifdef _MSC_VER
+#define _PANGO_EXTERN __declspec(dllexport) extern
+#else
+#define _PANGO_EXTERN __attribute__((visibility("default"))) __declspec(dllexport) extern
+#endif