From 4a91fd0ddfd7599001370fe6fe089d9ee33069ef Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 23 Aug 2007 22:30:46 +0000 Subject: Move the close() wrapper out of the win32wrapper.h, and into its new proper place at SocketEngine::Close() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7812 e03df62e-2008-0410-955e-edbf42e46eb7 --- win/inspircd_win32wrapper.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'win') diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h index a728cf191..6d03d0507 100644 --- a/win/inspircd_win32wrapper.h +++ b/win/inspircd_win32wrapper.h @@ -79,9 +79,6 @@ #define EADDRINUSE WSAEADDRINUSE #define EINPROGRESS WSAEWOULDBLOCK -/* Remember file descriptors are treated differently on windows ;) */ -__inline int close(int socket) { return closesocket(socket); } - /* Convert formatted (xxx.xxx.xxx.xxx) string to in_addr struct */ CoreExport int inet_pton(int af, const char * src, void * dst); -- cgit v1.2.3