From 123374463b31190fbeed9a6044aa65e7f3bd5090 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Wed, 7 Sep 2016 11:39:46 -0700 Subject: hardcode sizeof(_Bool) on windows --- PC/pyconfig.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'PC/pyconfig.h') diff --git a/PC/pyconfig.h b/PC/pyconfig.h index 5d36f1ccb6..64e7aecb69 100644 --- a/PC/pyconfig.h +++ b/PC/pyconfig.h @@ -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 -- cgit v1.2.3