Skip to content

Commit be32472

Browse files
Commit
1 parent 09c9eb1 commit be32472

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Modules/expat/expat_external.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@
3939

4040
#ifndef Expat_External_INCLUDED
4141
# define Expat_External_INCLUDED 1
42+
/* Namespace external symbols to allow multiple libexpat version to
43+
co-exist. */
44+
#include "pyexpatns.h"
4245

4346
/* External API definitions */
4447

Modules/expat/refresh.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ done
5252
rm libexpat.tar.gz
5353

5454
# Step 3: Add the namespacing include to expat_external.h
55-
sed -i 's/#define Expat_External_INCLUDED 1/&\n\n\/* Namespace external symbols to allow multiple libexpat version to\n co-exist. \*\/\n#include "pyexpatns.h"/' expat_external.h
55+
sed -i 's/# define Expat_External_INCLUDED 1/&\n\/* Namespace external symbols to allow multiple libexpat version to\n co-exist. \*\/\n#include "pyexpatns.h"/' expat_external.h
5656

5757
echo "
5858
Updated! next steps:

0 commit comments

Comments
 (0)