summaryrefslogtreecommitdiff
path: root/win/inspircd_win32wrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'win/inspircd_win32wrapper.cpp')
-rw-r--r--win/inspircd_win32wrapper.cpp5
1 files changed, 5 insertions, 0 deletions
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);