Issue #22117: Use the _PyTime_t API in _datetime.datetime() constructor

* Remove _PyTime_gettimeofday()
* Add _PyTime_GetSystemClock()
This commit is contained in:
Victor Stinner 2015-03-30 00:09:18 +02:00
parent 10915aa85c
commit 09e5cf28ae
4 changed files with 35 additions and 124 deletions

View file

@ -15,7 +15,7 @@
#include <signal.h>
#ifdef MS_WINDOWS
# include <winsock2.h>
# include <winsock2.h> /* struct timeval */
#endif
#ifdef WITH_THREAD