Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Modules/timemodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@
#define SEC_TO_NS (1000 * 1000 * 1000)


#ifdef HAVE_TIMES

#if defined(HAVE_TIMES) || defined(HAVE_CLOCK)
static int
check_ticks_per_second(long tps, const char *context)
{
Expand All @@ -75,6 +74,9 @@ check_ticks_per_second(long tps, const char *context)
}
return 0;
}
#endif /* HAVE_TIMES || HAVE_CLOCK */

#ifdef HAVE_TIMES

# define ticks_per_second _PyRuntime.time.ticks_per_second

Expand Down