From bf6414811dadd6cf2d48a750eed5c546730490ee Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Sun, 24 Feb 2019 22:51:35 +0100 Subject: [PATCH] fixup! poll: lazy-load GetTickCount64() This is another left-over from the pre-Vista times. Signed-off-by: Johannes Schindelin --- compat/poll/poll.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/compat/poll/poll.c b/compat/poll/poll.c index 8e6b8860c5..4459408c7d 100644 --- a/compat/poll/poll.c +++ b/compat/poll/poll.c @@ -269,20 +269,6 @@ win32_compute_revents_socket (SOCKET h, int sought, long lNetworkEvents) return happened; } -#include -#include "compat/win32/lazyload.h" - -static ULONGLONG CompatGetTickCount64(void) -{ - DECLARE_PROC_ADDR(kernel32.dll, ULONGLONG, GetTickCount64, void); - - if (!INIT_PROC_ADDR(GetTickCount64)) - return (ULONGLONG)GetTickCount(); - - return GetTickCount64(); -} -#define GetTickCount64 CompatGetTickCount64 - #else /* !MinGW */ /* Convert select(2) returned fd_sets into poll(2) revents values. */