From 3d0923b988121bf1047d426aa286b1fce9e5fc25 Mon Sep 17 00:00:00 2001 From: Ayappan P Date: Thu, 27 Oct 2022 09:37:21 -0400 Subject: [PATCH 1/2] pythongh-98705: Fix AIX build --- Include/pyport.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Include/pyport.h b/Include/pyport.h index b3ff2f4882e90f..251920c8d3b1fb 100644 --- a/Include/pyport.h +++ b/Include/pyport.h @@ -717,4 +717,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 */ From 208f8a1c4e7fe8c47013fc44809b0939523576b2 Mon Sep 17 00:00:00 2001 From: Ayappan P Date: Thu, 27 Oct 2022 09:58:43 -0400 Subject: [PATCH 2/2] Add news entry --- .../next/Build/2022-10-27-09-57-12.gh-issue-98705.H11XmR.rst | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 Misc/NEWS.d/next/Build/2022-10-27-09-57-12.gh-issue-98705.H11XmR.rst diff --git a/Misc/NEWS.d/next/Build/2022-10-27-09-57-12.gh-issue-98705.H11XmR.rst b/Misc/NEWS.d/next/Build/2022-10-27-09-57-12.gh-issue-98705.H11XmR.rst new file mode 100644 index 00000000000000..4519853cdbadd1 --- /dev/null +++ b/Misc/NEWS.d/next/Build/2022-10-27-09-57-12.gh-issue-98705.H11XmR.rst @@ -0,0 +1,2 @@ +``__bool__`` is defined in AIX system header files which breaks the build in +AIX, so undefine it. pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy