Skip to content

Commit

Permalink
bpo-31374: expat doesn't include <pyconfig.h> on Windows (GH-11079)
Browse files Browse the repository at this point in the history
(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 3acf30d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Modules/expat/xmltok.c
Expand Up @@ -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 */

Expand Down

0 comments on commit 3acf30d

Please sign in to comment.