From 3d274b327dd0211aae4b809de8f4eaf524c68e26 Mon Sep 17 00:00:00 2001 From: Alexander Belopolsky Date: Thu, 5 Aug 2010 17:34:27 +0000 Subject: 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(). --- Python/pythonrun.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Python/pythonrun.c') diff --git a/Python/pythonrun.c b/Python/pythonrun.c index f45d7dc9fa..79a19f8dd7 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -268,6 +268,8 @@ Py_InitializeEx(int install_sigs) /* Initialize _warnings. */ _PyWarnings_Init(); + _PyTime_Init(); + initfsencoding(); if (install_sigs) -- cgit v1.2.1