gh-108765: Python.h no longer includes <stddef.h> on Windows (#111563)

In practice, only Windows is impacted, because the HAVE_STDDEF_H
macro was only defined on Windows.
This commit is contained in:
Victor Stinner 2023-10-31 21:53:57 +01:00 committed by GitHub
parent c42347d025
commit faa5f6053d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 3 deletions

View file

@ -22,9 +22,6 @@
#include <math.h> // HUGE_VAL
#include <stdarg.h> // va_list
#include <wchar.h> // wchar_t
#ifdef HAVE_STDDEF_H
# include <stddef.h> // size_t
#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h> // ssize_t
#endif