Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3b6c7b3

Browse files
committed
Fix build
1 parent85790f4 commit3b6c7b3

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

‎Python/pytime.c

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,14 @@
5555
#endif
5656

5757

58+
#ifdefMS_WINDOWS
59+
static_PyTimeFractionpy_qpc_base= {0,0};
60+
61+
// Forward declaration
62+
staticintpy_win_perf_counter_frequency(_PyTimeFraction*base,intraise_exc);
63+
#endif
64+
65+
5866
staticPyTime_t
5967
_PyTime_GCD(PyTime_tx,PyTime_ty)
6068
{
@@ -1056,8 +1064,6 @@ py_win_perf_counter_frequency(_PyTimeFraction *base, int raise_exc)
10561064
}
10571065

10581066

1059-
static_PyTimeFractionpy_qpc_base= {0,0};
1060-
10611067
// N.B. If raise_exc=0, this may be called without the GIL.
10621068
staticint
10631069
py_get_win_perf_counter(PyTime_t*tp,_Py_clock_info_t*info,intraise_exc)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp