-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
gh-89886: Rely on HAVE_SYS_TIME_H #105058
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
Quoting autoconf (v2.71): All current systems provide time.h; it need not be checked for. Not all systems provide sys/time.h, but those that do, all allow you to include it and time.h simultaneously.
🤖 New build scheduled with the buildbot fleet by @erlend-aasland for commit de000c6 🤖 If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
On hold until |
Simply use ac_cv_header_sys_time_h for PY_STDLIB_MOD
Ok, I think we can land this now. Thanks for the review! It helps with more eyes 👀 |
Thanks @erlend-aasland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Quoting autoconf (v2.71): All current systems provide time.h; it need not be checked for. Not all systems provide sys/time.h, but those that do, all allow you to include it and time.h simultaneously. (cherry picked from commit 9ab587b) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
GH-105192 is a backport of this pull request to the 3.12 branch. |
Quoting autoconf (v2.71): All current systems provide time.h; it need not be checked for. Not all systems provide sys/time.h, but those that do, all allow you to include it and time.h simultaneously. (cherry picked from commit 9ab587b) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Quoting autoupdate (v2.71):