mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-98705: Fix AIX build by undefining __bool__
in C (#98768)
This commit is contained in:
parent
ba4731d149
commit
618b7a8260
2 changed files with 8 additions and 0 deletions
|
@ -726,4 +726,10 @@ extern char * _getpty(int *, int, mode_t, int);
|
|||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
/* AIX has __bool__ redefined in it's system header file. */
|
||||
#if defined(_AIX) && defined(__bool__)
|
||||
#undef __bool__
|
||||
#endif
|
||||
|
||||
#endif /* Py_PYPORT_H */
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
``__bool__`` is defined in AIX system header files which breaks the build in
|
||||
AIX, so undefine it.
|
Loading…
Add table
Add a link
Reference in a new issue