[Spread-cvs] cvs commit: spread/daemon arch.h
jonathan at spread.org
jonathan at spread.org
Wed Jan 23 23:47:51 EST 2002
jonathan 02/01/23 23:47:50
Modified: daemon arch.h
Log:
Modified Files:
arch.h
----------------------------------------------------------------------
Added close as alias for closesocket() on Windows. Should fix socket
leak on windows.
Revision Changes Path
1.6 +1 -0 spread/daemon/arch.h
Index: arch.h
===================================================================
RCS file: /storage/cvsroot/spread/daemon/arch.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- arch.h 12 Dec 2001 15:06:18 -0000 1.5
+++ arch.h 24 Jan 2002 04:47:49 -0000 1.6
@@ -393,6 +393,7 @@
#define MAXPATHLEN _MAX_PATH
#define snprintf _snprintf
#define alloca _alloca
+#define close closesocket
#endif /* ARCH */
/* to grab UINT32_MAX definitions if they exist */
More information about the Spread-cvs
mailing list