From 67ca33dbf44524516991d9152c4d8a7ff57f0335 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Fri, 29 Aug 2014 17:00:17 +0200 Subject: Issue #22043: Oops, fix perf_counter() on UNIX if no monotonic clock is available (unlikely) --- Modules/timemodule.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Modules/timemodule.c b/Modules/timemodule.c index abf4b8b..c90d8f9 100644 --- a/Modules/timemodule.c +++ b/Modules/timemodule.c @@ -1046,9 +1046,8 @@ perf_counter(_Py_clock_info_t *info) use_monotonic = 0; PyErr_Clear(); } -#else - return floattime(info); #endif + return floattime(info); #endif } -- cgit v0.12