]> granicus.if.org Git - python/commitdiff
hardcode sizeof(_Bool) on windows
authorBenjamin Peterson <benjamin@python.org>
Wed, 7 Sep 2016 18:39:46 +0000 (11:39 -0700)
committerBenjamin Peterson <benjamin@python.org>
Wed, 7 Sep 2016 18:39:46 +0000 (11:39 -0700)
PC/pyconfig.h

index 5d36f1ccb663558a65f77747c4a4506af59c1684..64e7aecb69c0d4503ef0907c1379fffb64dbc627 100644 (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