summaryrefslogtreecommitdiff
path: root/Modules/expat/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/expat/internal.h')
-rw-r--r--Modules/expat/internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/expat/internal.h b/Modules/expat/internal.h
index e33fdcb023..dc4ef0c7e2 100644
--- a/Modules/expat/internal.h
+++ b/Modules/expat/internal.h
@@ -115,6 +115,11 @@ extern "C" {
#endif
+#ifdef XML_ENABLE_VISIBILITY
+#if XML_ENABLE_VISIBILITY
+__attribute__ ((visibility ("default")))
+#endif
+#endif
void
_INTERNAL_trim_to_complete_utf8_characters(const char * from, const char ** fromLimRef);