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
  • Loading branch information
vstinner authored Dec 10, 2018
1 parent fc662ac commit b6ef6f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Modules/expat/xmltok.c
Original file line number Diff line number Diff line change
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 b6ef6f6

Please sign in to comment.