From 65e1a17386c36ac84dc7571552a9e47b559c80c8 Mon Sep 17 00:00:00 2001 From: mio Date: Sun, 3 Oct 2021 23:25:26 +0200 Subject: [PATCH] Remove winsocks --- include/unicorn/platform.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/include/unicorn/platform.h b/include/unicorn/platform.h index 4f53d4d4..1d5dc314 100644 --- a/include/unicorn/platform.h +++ b/include/unicorn/platform.h @@ -156,17 +156,8 @@ typedef _W64 unsigned int uintptr_t; #if defined(_MSC_VER) #include #include -#include #include -static int gettimeofday(struct timeval* t, void* timezone) -{ - struct _timeb timebuffer; - _ftime( &timebuffer ); - t->tv_sec = (long)timebuffer.time; - t->tv_usec = 1000*timebuffer.millitm; - return 0; -} #else #include #endif