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

@ -61,6 +61,7 @@
#error "PYMALLOC_DEBUG requires WITH_PYMALLOC"
#endif
#include "pymath.h"
#include "pytime.h"
#include "pymem.h"
#include "object.h"