Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythongh-63760: Don't declare gethostname() on Solaris (python#108817)
Since 2005, Solaris defines gethostname(). socketmodule.c no longer has to define gethostname() for Solaris. Oracle Solaris and OpenSolaris have patches to remove the gethostname() definition in Python: * /~https://github.com/oracle/solaris-userland/blob/master/components/python/python37/patches/15-gethostname.patch * /~https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/components/python/python37/patches/15-gethostname.patch * /~https://github.com/omniosorg/omnios-build/blob/master/build/python27/patches/24-gethostname.patch Co-authored-by: Jakub Kulík <Kulikjak@gmail.com> (cherry picked from commit 0e6d582)
- Loading branch information