From c337838af798354603457043e2ad8cfd3cbea36e Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sat, 28 Mar 2015 05:07:51 +0100 Subject: Issue #22117: Use the new _PyTime_t API in the select module --- Python/pytime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/pytime.c') diff --git a/Python/pytime.c b/Python/pytime.c index aa64977552..27004f338c 100644 --- a/Python/pytime.c +++ b/Python/pytime.c @@ -469,7 +469,7 @@ _PyTime_AsTimeval(_PyTime_t t, struct timeval *tv, _PyTime_round_t round) return res; } -#ifdef HAVE_CLOCK_GETTIME +#if defined(HAVE_CLOCK_GETTIME) || defined(HAVE_KQUEUE) int _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts) { -- cgit v1.2.1