mirror of
https://github.com/python/cpython.git
synced 2025-09-01 14:38:00 +00:00
Issue #9079: Added _PyTime_gettimeofday(_PyTime_timeval *tp) to C API
exposed in Python.h. This function is similar to POSIX gettimeofday(struct timeval *tp), but available on platforms without gettimeofday().
This commit is contained in:
parent
1c5471f319
commit
6fc4ade2bb
8 changed files with 150 additions and 85 deletions
|
@ -268,6 +268,8 @@ Py_InitializeEx(int install_sigs)
|
|||
/* Initialize _warnings. */
|
||||
_PyWarnings_Init();
|
||||
|
||||
_PyTime_Init();
|
||||
|
||||
initfsencoding();
|
||||
|
||||
if (install_sigs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue