]> 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 a1eba11e9714b0cf2b5449f9a727199f8543eaef..740436d931cfb1b30ef18ec58019ff3b15385e84 100644 (file)
@@ -100,6 +100,8 @@ typedef unsigned __int32 uint32_t;
 #include <process.h>
 #include <stdio.h>
 #include <algorithm>
+#include <io.h>
+#include <psapi.h>
 
 #ifdef ENABLE_CRASHDUMPS
 #include <DbgHelp.h>
@@ -214,6 +216,7 @@ typedef unsigned long long uint64_t;
 typedef signed char int8_t;
 typedef signed long int32_t;
 typedef signed long long int64_t;
+typedef signed long ssize_t;
 
 /* Shared memory allocation functions */
 void * ::operator new(size_t iSize);
@@ -226,6 +229,8 @@ class ServerConfig;
 /* Look up the nameserver in use from the registry on windows */
 CoreExport std::string FindNameServerWin();
 
+#define DISABLE_WRITEV
+
 /* Clear a windows console */
 CoreExport void ClearConsole();