hardcode sizeof(_Bool) on windows

This commit is contained in:
Benjamin Peterson 2016-09-07 11:39:46 -07:00
parent 1bf494b0ec
commit 123374463b
1 changed files with 3 additions and 0 deletions

View File

@ -643,6 +643,9 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
/* The size of `wchar_t', as computed by sizeof. */
#define SIZEOF_WCHAR_T 2
/* The size of `_Bool', as computed by sizeof. */
#define SIZEOF__BOOL 1
/* The size of `pid_t', as computed by sizeof. */
#define SIZEOF_PID_T SIZEOF_INT