Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3acf30d

Browse files
bpo-31374: expat doesn't include <pyconfig.h> on Windows (GH-11079)
(cherry picked from commit b6ef6f6) Co-authored-by: Victor Stinner <[email protected]>
1 parent 7215e48 commit 3acf30d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Modules/expat/xmltok.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@
3030
USE OR OTHER DEALINGS IN THE SOFTWARE.
3131
*/
3232

33-
#include <pyconfig.h>
33+
#if !defined(_WIN32) && defined(HAVE_EXPAT_CONFIG_H)
34+
# include <pyconfig.h>
35+
#endif
3436
#include <stddef.h>
3537
#include <string.h> /* memcpy */
3638

0 commit comments

Comments
 (0)