commit | f99d5860103a097a67d1020eb801178f930291ab | [log] [tgz] |
---|---|---|
author | Elliott Hughes <[email protected]> | Fri Oct 25 21:07:12 2024 +0000 |
committer | Automerger Merge Worker <[email protected]> | Fri Oct 25 21:07:12 2024 +0000 |
tree | 4fa4837aea60912d1997318ae6c8c84fba7b0a1d | |
parent | 1c9d932003f92206963f032377d52934001a5bb7 [diff] | |
parent | cd4dcab1791498dddc2f1d5150484b8a261e8f8a [diff] |
Fix cpython2 for C23. am: cd4dcab179 Original change: https://android-review.googlesource.com/c/platform/external/python/cpython2/+/3320777 Change-Id: Ic63e654e24b1d493c3c634feefd0b2862a764327 Signed-off-by: Automerger Merge Worker <[email protected]>
diff --git a/Include/asdl.h b/Include/asdl.h index 84e837e..9a6ec4a 100644 --- a/Include/asdl.h +++ b/Include/asdl.h
@@ -5,9 +5,7 @@ typedef PyObject * string; typedef PyObject * object; -#ifndef __cplusplus -typedef enum {false, true} bool; -#endif +#include <stdbool.h> /* It would be nice if the code generated by asdl_c.py was completely independent of Python, but it is a goal the requires too much work