]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - win/inspircd_win32wrapper.h
Merge branch 'master+gnutlsprio'
[user/henk/code/inspircd.git] / win / inspircd_win32wrapper.h
index 361724a2faa2ff76d82a0c1c1efc5f46d89f803a..2218d930063d0d42aa40620a5f58679e511905b3 100644 (file)
@@ -199,8 +199,6 @@ CoreExport void closedir(DIR * handle);
 void * ::operator new(size_t iSize);
 void ::operator delete(void * ptr);
 
-#define DISABLE_WRITEV
-
 #include <exception>
 
 class CWin32Exception : public std::exception
@@ -219,6 +217,13 @@ private:
 // Same value as EXIT_STATUS_FORK (EXIT_STATUS_FORK is unused on Windows)
 #define EXIT_STATUS_SERVICE 4
 
+// POSIX iovec
+struct iovec
+{
+       void* iov_base; // Starting address
+       size_t iov_len; // Number of bytes to transfer
+};
+
 // Windows WSABUF with POSIX field names
 struct WindowsIOVec
 {