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

Comparing:
ircd-hybrid-7.2/include/ircd_defs.h (file contents), Revision 913 by michael, Wed Nov 7 23:20:12 2007 UTC vs.
ircd-hybrid-8/include/ircd_defs.h (file contents), Revision 1345 by michael, Mon Apr 9 15:54:34 2012 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 56 | Line 55
55  
56   #define USERHOST_REPLYLEN       (NICKLEN+HOSTLEN+USERLEN+5)
57   #define MAX_DATE_STRING 32      /* maximum string length for a date string */
58 < #define IRCD_MAXNS      2       /* Maximum number of nameservers in
58 > #define IRCD_MAXNS      3       /* Maximum number of nameservers in
59                                     /etc/resolv.conf we care about */
60  
61   #define LOWEST_SAFE_FD  4       /* skip stdin, stdout, stderr, and profiler */
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 –
88 – #define PATH_DEVNULL "dev.null"
89 – #else
90 – #define PATH_DEVNULL "/dev/null"
91 – #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)