mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Issue #22117: Use the _PyTime_t API in _datetime.datetime() constructor
* Remove _PyTime_gettimeofday() * Add _PyTime_GetSystemClock()
This commit is contained in:
parent
10915aa85c
commit
09e5cf28ae
4 changed files with 35 additions and 124 deletions
|
|
@ -15,7 +15,7 @@
|
|||
#include <signal.h>
|
||||
|
||||
#ifdef MS_WINDOWS
|
||||
# include <winsock2.h>
|
||||
# include <winsock2.h> /* struct timeval */
|
||||
#endif
|
||||
|
||||
#ifdef WITH_THREAD
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue