summaryrefslogtreecommitdiff
path: root/win/inspircd_win32wrapper.h
diff options
context:
space:
mode:
authorburlex <burlex@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-15 20:41:30 +0000
committerburlex <burlex@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-15 20:41:30 +0000
commit8cebdce0933438c32fc5821dd16d090ea06fd8cc (patch)
tree505df2bb898fad59ebd2dfef0a61698c4765c973 /win/inspircd_win32wrapper.h
parentbb35a0fa9cbebe51fa636f707c12ca4a7033dd9a (diff)
* include/caller.h will now compile correctly on Windows platforms.
+ Implemented gettimeofday in win32 wrapper, link rtt's will now display in milliseconds. * SocketEngine::BoundsCheckFd will now handle Windows event handler cases correctly. (fixing writing to sockets not working) * Fixed VC71 project. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7723 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'win/inspircd_win32wrapper.h')
-rw-r--r--win/inspircd_win32wrapper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h
index ffda9ff40..17c3f5525 100644
--- a/win/inspircd_win32wrapper.h
+++ b/win/inspircd_win32wrapper.h
@@ -152,6 +152,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);
+
/* Disable these stupid warnings.. */
#pragma warning(disable:4800)
#pragma warning(disable:4251)