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

Comparing:
ircd-hybrid/include/stdinc.h (file contents), Revision 32 by knight, Sun Oct 2 20:41:23 2005 UTC vs.
ircd-hybrid-7.3/include/stdinc.h (file contents), Revision 1029 by michael, Sun Nov 8 13:10:50 2009 UTC

# Line 26 | Line 26
26   #ifndef STDINC_H /* prevent multiple #includes */
27   #define STDINC_H
28  
29 < #ifndef IN_AUTOCONF
30 < #include "setup.h"
31 < #endif
29 > #include "config.h"
30  
31   #include "defaults.h"
32  
33 < #ifdef HAVE_STDLIB_H
33 > #include <stddef.h>
34   #include <stdlib.h>
35 < #endif
38 < #ifdef STRING_WITH_STRINGS
39 < # include <string.h>
40 < # include <strings.h>
41 < #else
42 < # ifdef HAVE_STRING_H
43 < #  include <string.h>
44 < # else
45 < #  ifdef HAVE_STRINGS_H
46 < #   include <strings.h>
47 < #  endif
48 < # endif
49 < #endif  
35 > #include <string.h>
36  
37   #ifdef HAVE_STRTOK_R
38   # define strtoken(x, y, z) strtok_r(y, z, x)
# Line 62 | Line 48
48   #endif
49   #endif
50  
65 – #ifdef HAVE_STDDEF_H
66 – # include <stddef.h>
67 – #else /* This is basically what stddef.h provides on most systems */
68 – # ifndef NULL
69 – #  define NULL ((void*)0)
70 – # endif
71 – # ifndef offsetof
72 – #  define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
73 – # endif
74 – #endif
75 –
51   #ifdef HAVE_CRYPT_H
52   #include <crypt.h>
53   #endif
# Line 87 | Line 62
62   #include <time.h>
63   #include <fcntl.h>
64  
90 – #ifdef HAVE_LIBGEN_H
91 – #include <libgen.h>
92 – #endif
93 –
65   #include <stdarg.h>
66   #include <signal.h>
67   #include <ctype.h>
68  
98 – #ifdef _WIN32
99 – #define PATH_MAX (MAX_PATH - 1)
100 – #define WIN32_LEAN_AND_MEAN
101 – #include <windows.h>
102 – #include <winsock.h>
103 – #else
69   #include <dirent.h>
70   #include <netdb.h>
71   #include <sys/socket.h>
# Line 108 | Line 73
73   #include <arpa/inet.h>
74   #include <sys/time.h>
75   #include <sys/file.h>
111 – #endif
76  
77   #include <limits.h>
78  
# Line 136 | Line 100 | extern int errno;
100   #endif
101  
102   #include "inet_misc.h"
139 –
103   #endif

Comparing:
ircd-hybrid/include/stdinc.h (property svn:keywords), Revision 32 by knight, Sun Oct 2 20:41:23 2005 UTC vs.
ircd-hybrid-7.3/include/stdinc.h (property svn:keywords), Revision 1029 by michael, Sun Nov 8 13:10:50 2009 UTC

# Line 1 | Line 1
1 < Revision
1 > Id Revision

Diff Legend

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