Skip to content

Commit fa1b4ae

Browse files
authored
Merge pull request #784 from tristanlabelle/init-once-call-conv
Fix build break due to calling convention mismatch on Windows
2 parents e7c4416 + 9c72b97 commit fa1b4ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/generic_win_port.c

+1-1
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)