]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-81057: Fix an ifdef in the time module (#100125)
authorEric Snow <ericsnowcurrently@gmail.com>
Fri, 9 Dec 2022 01:16:37 +0000 (18:16 -0700)
committerGitHub <noreply@github.com>
Fri, 9 Dec 2022 01:16:37 +0000 (18:16 -0700)
commit3e06b5030b18ca9d9d507423b582d13f38d393f2
treee9973fdcdd353ef841da32596279d98060c66283
parent1160001b34615066b1188d5fb457131b1ebb928d
gh-81057: Fix an ifdef in the time module (#100125)

An earlier commit only defined check_ticks_per_second() when HAVE_TIMES is defined. However, we also need it when HAVE_CLOCK is defined. This primarily affects Windows.

https://github.com/python/cpython/issues/81057
Modules/timemodule.c