[PATCH] Minor w32api fix

Christopher Faylor cgf@redhat.com
Thu Aug 30 06:38:00 GMT 2001


I don't know if this is in the mingw version of this file, but I thought
I'd cc you guys just in case.

cgf

Thu Aug 30 09:35:51 2001  Christopher Faylor <cgf@cygnus.com>
 
 	* include/winsock2.h: Remove "extra token" after #endif.

Index: include/winsock2.h
===================================================================
RCS file: /cvs/uberbaum/winsup/w32api/include/winsock2.h,v
retrieving revision 1.9
diff -p -r1.9 winsock2.h
*** winsock2.h	2001/08/30 04:29:49	1.9
--- winsock2.h	2001/08/30 13:36:46
*************** typedef WSADATA *LPWSADATA;
*** 265,271 ****
  #define SO_RCVTIMEO	0x1006
  #define SO_ERROR	0x1007
  #define SO_TYPE	0x1008
! #endif ./* ! (__INSIDE_CYGWIN__ || __INSIDE_MSYS__) */
  
  #define INVALID_SOCKET (SOCKET)(~0)
  #define SOCKET_ERROR	(-1)
--- 265,271 ----
  #define SO_RCVTIMEO	0x1006
  #define SO_ERROR	0x1007
  #define SO_TYPE	0x1008
! #endif /* ! (__INSIDE_CYGWIN__ || __INSIDE_MSYS__) */
  
  #define INVALID_SOCKET (SOCKET)(~0)
  #define SOCKET_ERROR	(-1)



More information about the Cygwin-developers mailing list