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

This commit is contained in:
Victor Stinner 2018-12-10 16:06:18 +01:00 committed by GitHub
parent fc662ac332
commit b6ef6f69a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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 */