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:
Alexander Belopolsky 2010-08-05 17:34:27 +00:00
parent 1c5471f319
commit 6fc4ade2bb
8 changed files with 150 additions and 85 deletions

View file

@ -268,6 +268,8 @@ Py_InitializeEx(int install_sigs)
/* Initialize _warnings. */
_PyWarnings_Init();
_PyTime_Init();
initfsencoding();
if (install_sigs)