]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - win/inspircd_win32wrapper.h
Move static map of extensions into ServerInstance, add const-correctness
[user/henk/code/inspircd.git] / win / inspircd_win32wrapper.h
index 6b068adeaa20b2695484b0e192e7e87e04ae2a08..740436d931cfb1b30ef18ec58019ff3b15385e84 100644 (file)
@@ -101,6 +101,7 @@ typedef unsigned __int32 uint32_t;
 #include <stdio.h>
 #include <algorithm>
 #include <io.h>
+#include <psapi.h>
 
 #ifdef ENABLE_CRASHDUMPS
 #include <DbgHelp.h>
@@ -228,14 +229,7 @@ class ServerConfig;
 /* Look up the nameserver in use from the registry on windows */
 CoreExport std::string FindNameServerWin();
 
-/* no uio.h on win, but win has alternatives in io.h rest is wrapped here */
-#define IOV_MAX 1024
-struct iovec
-{
-       size_t  iov_len;
-       void*   iov_base;
-};
-CoreExport ssize_t writev(int fd, const struct iovec* iov, int iovcnt);
+#define DISABLE_WRITEV
 
 /* Clear a windows console */
 CoreExport void ClearConsole();