changeset: 92267:ab81b4cdc33c user: Victor Stinner date: Fri Aug 29 17:00:17 2014 +0200 files: Modules/timemodule.c description: Issue #22043: Oops, fix perf_counter() on UNIX if no monotonic clock is available (unlikely) diff -r 76bc15c918b1 -r ab81b4cdc33c Modules/timemodule.c --- a/Modules/timemodule.c Fri Aug 29 16:51:33 2014 +0200 +++ b/Modules/timemodule.c Fri Aug 29 17:00:17 2014 +0200 @@ -1046,9 +1046,8 @@ use_monotonic = 0; PyErr_Clear(); } -#else +#endif return floattime(info); -#endif #endif }