Skip to content

Commit 9c72b97

Browse files
Explicitly specify the calling convention for PINIT_ONCE_FN
1 parent e7c4416 commit 9c72b97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/generic_win_port.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ gettimeofday(struct timeval *tp, void *tzp)
188188
typedef void (WINAPI *QueryUnbiasedInterruptTimePreciseT)(PULONGLONG);
189189
static QueryUnbiasedInterruptTimePreciseT QueryUnbiasedInterruptTimePrecisePtr;
190190

191-
static BOOL
191+
static BOOL WINAPI
192192
mach_absolute_time_init(PINIT_ONCE InitOnce, PVOID Parameter, PVOID *lpContext)
193193
{
194194
// QueryUnbiasedInterruptTimePrecise() is declared in the Windows headers

0 commit comments

Comments
 (0)