/[svn]/ircd-hybrid-7.2/include/ircd_defs.h
ViewVC logotype

Diff of /ircd-hybrid-7.2/include/ircd_defs.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1000 by michael, Mon Nov 12 19:15:27 2007 UTC revision 1001 by michael, Sat Aug 29 22:44:44 2009 UTC
# Line 63  Line 63 
63    
64  #define PLATFORMLEN     200     /* platform string used in info response */  #define PLATFORMLEN     200     /* platform string used in info response */
65    
 #ifdef _WIN32  
 #define EAFNOSUPPORT WSAEAFNOSUPPORT  
 #define EALREADY     WSAEALREADY  
 #define EINPROGRESS  WSAEINPROGRESS  
 #define EISCONN      WSAEISCONN  
 #define EMSGSIZE     WSAEMSGSIZE  
 #define EWOULDBLOCK  WSAEWOULDBLOCK  
   
 #define _UTSNAME_LENGTH 65  
 #define _UTSNAME_NODENAME_LENGTH _UTSNAME_LENGTH  
 #define _UTSNAME_DOMAIN_LENGTH _UTSNAME_LENGTH  
 struct utsname  
 {  
   char sysname[_UTSNAME_LENGTH];  
   char nodename[_UTSNAME_NODENAME_LENGTH];  
   char release[_UTSNAME_LENGTH];  
   char version[_UTSNAME_LENGTH];  
   char machine[_UTSNAME_LENGTH];  
   char domainname[_UTSNAME_DOMAIN_LENGTH];  
 };  
 int uname (struct utsname *);  
 #endif  
66    
67  /* This is to get around the fact that some implementations have ss_len and  /* This is to get around the fact that some implementations have ss_len and
68   * others do not   * others do not

Legend:
Removed from v.1000  
changed lines
  Added in v.1001

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28