Skip to content

Commit 22729a5

Browse files
committed
bpo-46794: Add pyexpatns.h to support multiple libexpat version
1 parent eca97b9 commit 22729a5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Modules/expat/expat_external.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@
6464
compiled with the cdecl calling convention as the default since
6565
system headers may assume the cdecl convention.
6666
*/
67+
68+
/* Namespace external symbols to allow multiple libexpat version to
69+
co-exist. */
70+
#include "pyexpatns.h"
71+
6772
#ifndef XMLCALL
6873
# if defined(_MSC_VER)
6974
# define XMLCALL __cdecl

0 commit comments

Comments
 (0)