bpo-29040: Support building Android with Unified Headers (GH-4492)

This commit is contained in:
xdegaye 2017-11-23 11:44:38 +01:00 committed by GitHub
parent 5ad7ef8e42
commit c06c22e9a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 3 deletions

View file

@ -784,7 +784,9 @@ extern _invalid_parameter_handler _Py_silent_invalid_parameter_handler;
#endif /* Py_BUILD_CORE */
#ifdef __ANDROID__
#include <android/api-level.h>
/* The Android langinfo.h header is not used. */
#undef HAVE_LANGINFO_H
#undef CODESET
#endif
/* Maximum value of the Windows DWORD type */