diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-12 01:13:51 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-12 01:13:51 +0000 |
commit | 170820cc8d09064742b6c2d3d716abac457cd880 (patch) | |
tree | 50a83f1ae4244b5f0859bf5b4cbfba5737f20db6 /win/inspircd_win32wrapper.h | |
parent | e4a590c7926b4b9454093f88b2d4d1616b717df2 (diff) |
Define DISABLE_WRITEV and use the IOHook single-copy method for Windows send()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11848 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'win/inspircd_win32wrapper.h')
-rw-r--r-- | win/inspircd_win32wrapper.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h index 4b9ce80ec..740436d93 100644 --- a/win/inspircd_win32wrapper.h +++ b/win/inspircd_win32wrapper.h @@ -229,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(); |