diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2021-04-02 17:43:49 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2021-04-02 17:43:49 +0200 |
commit | b1ea381c0b0e4a42358bc7fd7047520f9a02dc0f (patch) | |
tree | 25750979b6297c6ace652067243c52c90243d31f | |
parent | 7787142d9c5b0b5b2ec94959ff0922459fc5d936 (diff) | |
download | cython-b1ea381c0b0e4a42358bc7fd7047520f9a02dc0f.tar.gz |
Fix include file: "pytime.h" is actually included by "Python.h" and should not get included directly.
-rw-r--r-- | Cython/Includes/cpython/time.pxd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Includes/cpython/time.pxd b/Cython/Includes/cpython/time.pxd index d53cb9ac4..076abd931 100644 --- a/Cython/Includes/cpython/time.pxd +++ b/Cython/Includes/cpython/time.pxd @@ -5,7 +5,7 @@ Cython implementation of (parts of) the standard library time module. from libc.stdint cimport int64_t from cpython.exc cimport PyErr_SetFromErrno -cdef extern from "pytime.h": +cdef extern from "Python.h": ctypedef int64_t _PyTime_t _PyTime_t _PyTime_GetSystemClock() nogil double _PyTime_AsSecondsDouble(_PyTime_t t) nogil |