From bfa2a19d965b4808ad264b35acd7b09d6d0fc90f Mon Sep 17 00:00:00 2001 From: peavey Date: Sat, 10 Oct 2009 19:53:18 +0000 Subject: Slight tweak to setsockopt fix. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11824 e03df62e-2008-0410-955e-edbf42e46eb7 --- win/inspircd_win32wrapper.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'win/inspircd_win32wrapper.cpp') diff --git a/win/inspircd_win32wrapper.cpp b/win/inspircd_win32wrapper.cpp index eb73378f2..d0ca50af8 100644 --- a/win/inspircd_win32wrapper.cpp +++ b/win/inspircd_win32wrapper.cpp @@ -91,6 +91,11 @@ int insp_inet_pton(int af, const char *src, void *dst) return rv; } +int insp_setsockopt(int sockfd, int level, int optname, void *optval, int optlen) +{ + return setsockopt(sockfd, level, optname, (char*)optval, optlen); +} + void setcolor(int color_code) { SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), color_code); -- cgit v1.2.3