From 7e46119759b7099c38f543bd38d0186b9806542f Mon Sep 17 00:00:00 2001 From: danieldg Date: Mon, 18 Jan 2010 19:36:41 +0000 Subject: Remove excessive gettimeofday system calls git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12293 e03df62e-2008-0410-955e-edbf42e46eb7 --- win/inspircd_win32wrapper.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'win/inspircd_win32wrapper.h') diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h index 4397d2ad3..3f16280fd 100644 --- a/win/inspircd_win32wrapper.h +++ b/win/inspircd_win32wrapper.h @@ -193,7 +193,8 @@ CoreExport DIR * opendir(const char * path); CoreExport dirent * readdir(DIR * handle); CoreExport void closedir(DIR * handle); -CoreExport int gettimeofday(struct timeval * tv, void * tz); +const int CLOCK_REALTIME = 0; +CoreExport int clock_gettime(int clock, struct timespec * tv); /* Disable these stupid warnings.. */ #pragma warning(disable:4800) -- cgit v1.2.3