ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid-7.3/include/ircd_defs.h
(Generate patch)

Comparing:
ircd-hybrid-7.2/include/ircd_defs.h (file contents), Revision 923 by michael, Mon Nov 12 19:15:27 2007 UTC vs.
ircd-hybrid-7.3/include/ircd_defs.h (file contents), Revision 1123 by michael, Sun Feb 6 21:57:50 2011 UTC

# Line 33 | Line 33
33   */
34   #ifndef INCLUDED_ircd_defs_h
35   #define INCLUDED_ircd_defs_h
36 < #include "inet_misc.h"
37 <
36 > #include "stdinc.h"
37   /* Right out of the RFC */
38   #define IRCD_BUFSIZE    512     /* WARNING: *DONT* CHANGE THIS!!!!         */
39   #define HOSTLEN          63     /* Length of hostname. Updated to comply
# Line 63 | Line 62
62  
63   #define PLATFORMLEN     200     /* platform string used in info response */
64  
66 #ifdef _WIN32
67 #define EAFNOSUPPORT WSAEAFNOSUPPORT
68 #define EALREADY     WSAEALREADY
69 #define EINPROGRESS  WSAEINPROGRESS
70 #define EISCONN      WSAEISCONN
71 #define EMSGSIZE     WSAEMSGSIZE
72 #define EWOULDBLOCK  WSAEWOULDBLOCK
73
74 #define _UTSNAME_LENGTH 65
75 #define _UTSNAME_NODENAME_LENGTH _UTSNAME_LENGTH
76 #define _UTSNAME_DOMAIN_LENGTH _UTSNAME_LENGTH
77 struct utsname
78 {
79  char sysname[_UTSNAME_LENGTH];
80  char nodename[_UTSNAME_NODENAME_LENGTH];
81  char release[_UTSNAME_LENGTH];
82  char version[_UTSNAME_LENGTH];
83  char machine[_UTSNAME_LENGTH];
84  char domainname[_UTSNAME_DOMAIN_LENGTH];
85 };
86 int uname (struct utsname *);
87 #endif
65  
66   /* This is to get around the fact that some implementations have ss_len and
67   * others do not

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)