New submission from Matthieu S: Python build fails on AIX when using the _LINUX_SOURCE_COMPAT flag.
When using this flag, the gethostbyname_r subroutine has 6 parameters instead of 3, like on Linux, but Modules/socketmodule.c always expects a gethostbyname_r subroutine with only 3 parameters on AIX. The attached patch allows to build with this flag. It has been tested for Python 3.5.1 and 3.5.2 with GCC and XLC compilers. ---------- components: Extension Modules files: Python-3.5.1-compat.patch keywords: patch messages: 274819 nosy: sarterm priority: normal severity: normal status: open title: Build fails on AIX with _LINUX_SOURCE_COMPAT flag type: compile error versions: Python 3.5 Added file: http://bugs.python.org/file44440/Python-3.5.1-compat.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28000> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com