aboutsummaryrefslogtreecommitdiff
path: root/PC/pyconfig.h
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-09-07 11:39:46 -0700
committerBenjamin Peterson <benjamin@python.org>2016-09-07 11:39:46 -0700
commit123374463b31190fbeed9a6044aa65e7f3bd5090 (patch)
treecb056d2f3d11580ab8e10d4e0cef114f69870146 /PC/pyconfig.h
parent1bf494b0ec74fcdca8bd93c1e679ec5d3b6a5a5c (diff)
downloadcpython3-123374463b31190fbeed9a6044aa65e7f3bd5090.tar.gz
hardcode sizeof(_Bool) on windows
Diffstat (limited to 'PC/pyconfig.h')
-rw-r--r--PC/pyconfig.h3
1 files changed, 3 insertions, 0 deletions
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