X Tutup
Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Commit
  • Loading branch information
StanFromIreland committed Sep 16, 2025
commit be3247258030b8200baf4060bb262ca4e1209cee
3 changes: 3 additions & 0 deletions Modules/expat/expat_external.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@

#ifndef Expat_External_INCLUDED
# define Expat_External_INCLUDED 1
/* Namespace external symbols to allow multiple libexpat version to
co-exist. */
#include "pyexpatns.h"

/* External API definitions */

Expand Down
2 changes: 1 addition & 1 deletion Modules/expat/refresh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ done
rm libexpat.tar.gz

# Step 3: Add the namespacing include to expat_external.h
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
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

echo "
Updated! next steps:
Expand Down
Loading
X Tutup