summaryrefslogtreecommitdiff
path: root/Modules/expat/internal.h
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2019-06-27 20:54:44 -0700
committerGitHub <noreply@github.com>2019-06-27 20:54:44 -0700
commit3b03b09fc94425915c5b1225e9200a3a95bc827b (patch)
treeef068553e1d0ba55c8a566633466d0b47a1b79ae /Modules/expat/internal.h
parent44f91c388a6f4da9ed3300df32ca290b8aa104ea (diff)
downloadcpython-git-3b03b09fc94425915c5b1225e9200a3a95bc827b.tar.gz
closes bpo-37437: Update vendorized expat to 2.2.7. (GH-14436)
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);