summaryrefslogtreecommitdiff
path: root/Modules/expat/internal.h
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-06-27 21:16:48 -0700
committerGitHub <noreply@github.com>2019-06-27 21:16:48 -0700
commit6632906c08e1d4de0fceba42c47886be41b7ba3d (patch)
treecd25aa49eae276629a81ef3ada4912fcc140131c /Modules/expat/internal.h
parent31fb351211cb9c81d5878ad3518b3a7bf0211473 (diff)
downloadcpython-git-6632906c08e1d4de0fceba42c47886be41b7ba3d.tar.gz
closes bpo-37437: Update vendorized expat to 2.2.7. (GH-14436)
(cherry picked from commit 3b03b09fc94425915c5b1225e9200a3a95bc827b) Co-authored-by: Benjamin Peterson <benjamin@python.org>
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);