Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
gh-108765: Remove old prototypes from pyport.h#108782
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Move prototypes of gethostname(), _getpty() and struct termios frompyport.h to the C code using them: posixmodule.c, socketmodule.c andtermios.c.Replace "#ifdef SOLARIS" with "#ifdef __sun".
Buildbots are happy with this change:#108784 |
@kulikjak: It would be nice if you can double check the Solaris change:
|
Hi@vstinner, can you, please, remove this part completely? There is already and issue and PR for this that is forgotten a little: As mentioned there, As for the define guard, |
I just realized that it's merged already - I rebased that older PR to remove it. |
Uh oh!
There was an error while loading.Please reload this page.
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".