commit | 6fc4ade2bb44a176555703ebc2dbfb54b57e1148 | [log] [tgz] |
---|---|---|
author | Alexander Belopolsky <alexander.belopolsky@gmail.com> | Thu Aug 05 17:34:27 2010 +0000 |
committer | Alexander Belopolsky <alexander.belopolsky@gmail.com> | Thu Aug 05 17:34:27 2010 +0000 |
tree | c52aa91d4f9e35bb2850ea2aea673e56eabc4ee6 | |
parent | 1c5471f319a4e5c7bbb56c7ae349b5fe455dc857 [diff] [blame] |
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().
diff --git a/Include/Python.h b/Include/Python.h index 972beec..6fbc49c 100644 --- a/Include/Python.h +++ b/Include/Python.h
@@ -61,6 +61,7 @@ #error "PYMALLOC_DEBUG requires WITH_PYMALLOC" #endif #include "pymath.h" +#include "pytime.h" #include "pymem.h" #include "object.h"