gh-108765: Remove old prototypes from pyport.h by vstinner · Pull Request #108782 · python/cpython
Conversation
Move prototypes of gethostname(), _getpty() and struct termios from pyport.h to the C code using them: posixmodule.c, socketmodule.c and termios.c.
Replace "#ifdef SOLARIS" with "#ifdef __sun".
Move prototypes of gethostname(), _getpty() and struct termios from pyport.h to the C code using them: posixmodule.c, socketmodule.c and termios.c. Replace "#ifdef SOLARIS" with "#ifdef __sun".
This was referenced
vstinner
marked this pull request as ready for review
Buildbots are happy with this change: #108784
@kulikjak: It would be nice if you can double check the Solaris change:
Replace "#ifdef SOLARIS" with "#ifdef __sun".
I just realized that it's merged already - I rebased that older PR to remove it.
#23208
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters