Skip to content
Permalink
Browse files

bpo-31374: expat doesn't include <pyconfig.h> on Windows (GH-11079)

(cherry picked from commit b6ef6f6)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
  • Loading branch information
miss-islington and vstinner committed Dec 10, 2018
1 parent 7215e48 commit 3acf30de90936fe3714bb62873e2523c0440e652
Showing with 3 additions and 1 deletion.
  1. +3 −1 Modules/expat/xmltok.c
@@ -30,7 +30,9 @@
USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

#include <pyconfig.h>
#if !defined(_WIN32) && defined(HAVE_EXPAT_CONFIG_H)
# include <pyconfig.h>
#endif
#include <stddef.h>
#include <string.h> /* memcpy */

0 comments on commit 3acf30d

Please sign in to comment.
You can’t perform that action at this time.