mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08: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:
@@ -268,6 +268,8 @@ Py_InitializeEx(int install_sigs)
|
||||
/* Initialize _warnings. */
|
||||
_PyWarnings_Init();
|
||||
|
||||
_PyTime_Init();
|
||||
|
||||
initfsencoding();
|
||||
|
||||
if (install_sigs)
|
||||
|
||||
Reference in New Issue
Block a user