mirror of
https://github.com/python/cpython.git
synced 2026-04-22 03:41:08 +00:00
bpo-31374: expat doesn't include <pyconfig.h> on Windows (GH-11079)
(cherry picked from commit b6ef6f69a9)
Co-authored-by: Victor Stinner <vstinner@redhat.com>
This commit is contained in:
parent
ea773eb1f9
commit
ef1fc0d031
1 changed files with 3 additions and 1 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue