1 |
/* include/setup.h suitable for Windows compilers */ |
2 |
/* $Id$ */ |
3 |
|
4 |
|
5 |
/*** BEGIN OF STANDARD CONFIGURATION SETTINGS ***/ |
6 |
|
7 |
|
8 |
/* Set up your maximum allowed nickname length here. */ |
9 |
#define _NICKLEN 20 |
10 |
|
11 |
/* Maximum topic length (<=390) */ |
12 |
#define TOPICLEN 160 |
13 |
|
14 |
/* If you plan to move your installed ircd from C:\ircd to |
15 |
* some other directory, modify the setting here. |
16 |
* Remember to escape backslashes by typing them twice! */ |
17 |
#define IRCD_PREFIX "c:/ircd" |
18 |
|
19 |
/* If you want %halfops (chanmode +h) support on your network, |
20 |
* uncomment the following line. */ |
21 |
/* #define HALFOPS 1 */ |
22 |
|
23 |
/* If you need additional non standard features provided in |
24 |
* contrib/ modules, uncomment the following line. */ |
25 |
/* #define BUILD_CONTRIB 1 */ |
26 |
|
27 |
|
28 |
/*** END OF STANDARD CONFIGURATION SETTINGS ***/ |
29 |
|
30 |
|
31 |
#ifndef _WIN32 |
32 |
#define _WIN32 |
33 |
#endif |
34 |
|
35 |
/* Size of the ban heap. */ |
36 |
#define BAN_HEAP_SIZE 128 |
37 |
|
38 |
/* Size of the channel heap. */ |
39 |
#define CHANNEL_HEAP_SIZE 256 |
40 |
|
41 |
/* Size of the client heap. */ |
42 |
#define CLIENT_HEAP_SIZE 256 |
43 |
|
44 |
/* Size of the dbuf heap. */ |
45 |
#define DBUF_HEAP_SIZE 64 |
46 |
|
47 |
/* Size of the dlink_node heap. */ |
48 |
#define DNODE_HEAP_SIZE 256 |
49 |
|
50 |
/* Define if this ircd will be an EFnet server. */ |
51 |
/* #undef EFNET */ |
52 |
|
53 |
/* Define to 1 if you have the `basename' function. */ |
54 |
#define HAVE_BASENAME 1 |
55 |
|
56 |
/* Define to 1 if you have the <crypt.h> header file. */ |
57 |
/* #undef HAVE_CRYPT_H */ |
58 |
|
59 |
/* Define to 1 if you have the <devpoll.h> header file. */ |
60 |
/* #undef HAVE_DEVPOLL_H */ |
61 |
|
62 |
/* Define to 1 if you have the <dlfcn.h> header file. */ |
63 |
/* #undef HAVE_DLFCN_H */ |
64 |
|
65 |
/* Define to 1 if you have the `dlfunc' function. */ |
66 |
/* #undef HAVE_DLFUNC */ |
67 |
|
68 |
/* Define if the dlopen function is available. */ |
69 |
/* #undef HAVE_DLOPEN */ |
70 |
|
71 |
/* Define to 1 if you have the <errno.h> header file. */ |
72 |
#define HAVE_ERRNO_H 1 |
73 |
|
74 |
/* Define to 1 if you have the `EVP_bf_cfb' function. */ |
75 |
/* #undef HAVE_EVP_BF_CFB */ |
76 |
|
77 |
/* Define to 1 if you have the `EVP_cast5_cfb' function. */ |
78 |
/* #undef HAVE_EVP_CAST5_CFB */ |
79 |
|
80 |
/* Define to 1 if you have the `EVP_des_cfb' function. */ |
81 |
/* #undef HAVE_EVP_DES_CFB */ |
82 |
|
83 |
/* Define to 1 if you have the `EVP_des_ede3_cfb' function. */ |
84 |
/* #undef HAVE_EVP_DES_EDE3_CFB */ |
85 |
|
86 |
/* Define to 1 if you have the `EVP_idea_cfb' function. */ |
87 |
/* #undef HAVE_EVP_IDEA_CFB */ |
88 |
|
89 |
/* Define to 1 if you have the `EVP_rc5_32_12_16_cfb' function. */ |
90 |
/* #undef HAVE_EVP_RC5_32_12_16_CFB */ |
91 |
|
92 |
/* Define to 1 if you have the <inttypes.h> header file. */ |
93 |
/* #undef HAVE_INTTYPES_H */ |
94 |
|
95 |
/* Define to 1 if you have the `crypto' library (-lcrypto). */ |
96 |
/* #undef HAVE_LIBCRYPTO */ |
97 |
|
98 |
/* Define to 1 if you have the <libgen.h> header file. */ |
99 |
/* #undef HAVE_LIBGEN_H */ |
100 |
|
101 |
/* Define to 1 if zlib (-lz) is available. */ |
102 |
/* #undef HAVE_LIBZ */ |
103 |
|
104 |
/* Define to 1 if you have the `lrand48' function. */ |
105 |
/* #undef HAVE_LRAND48 */ |
106 |
|
107 |
/* Define to 1 if you have the <mach-o/dyld.h> header file. */ |
108 |
/* #undef HAVE_MACH_O_DYLD_H */ |
109 |
|
110 |
/* Define to 1 if you have the <memory.h> header file. */ |
111 |
#define HAVE_MEMORY_H 1 |
112 |
|
113 |
/* Define to 1 if you have the `mmap' function. */ |
114 |
/* #undef HAVE_MMAP */ |
115 |
|
116 |
/* Define if the shl_load function is available. */ |
117 |
/* #undef HAVE_SHL_LOAD */ |
118 |
|
119 |
/* Define to 1 if you have the `snprintf' function. */ |
120 |
/* #undef HAVE_SNPRINTF */ |
121 |
|
122 |
/* Define to 1 if you have the `socketpair' function. */ |
123 |
/* #undef HAVE_SOCKETPAIR */ |
124 |
|
125 |
/* Define to 1 if you have the `srand48' function. */ |
126 |
/* #undef HAVE_SRAND48 */ |
127 |
|
128 |
/* Define to 1 if you have the <stddef.h> header file. */ |
129 |
#define HAVE_STDDEF_H 1 |
130 |
|
131 |
/* Define to 1 if you have the <stdint.h> header file. */ |
132 |
/* #undef HAVE_STDINT_H */ |
133 |
|
134 |
/* Define to 1 if you have the <stdlib.h> header file. */ |
135 |
#define HAVE_STDLIB_H 1 |
136 |
|
137 |
/* Define to 1 if you have the <strings.h> header file. */ |
138 |
/* #undef HAVE_STRINGS_H */ |
139 |
|
140 |
/* Define to 1 if you have the <string.h> header file. */ |
141 |
#define HAVE_STRING_H 1 |
142 |
|
143 |
/* Define to 1 if you have the `strlcat' function. */ |
144 |
/* #undef HAVE_STRLCAT */ |
145 |
|
146 |
/* Define to 1 if you have the `strlcpy' function. */ |
147 |
/* #undef HAVE_STRLCPY */ |
148 |
|
149 |
/* Define to 1 if you have the `strtok_r' function. */ |
150 |
/* #undef HAVE_STRTOK_R */ |
151 |
|
152 |
/* Define to 1 if the system has the type `struct addrinfo'. */ |
153 |
/* #undef HAVE_STRUCT_ADDRINFO */ |
154 |
|
155 |
/* Define to 1 if the system has the type `struct sockaddr_storage'. */ |
156 |
/* #undef HAVE_STRUCT_SOCKADDR_STORAGE */ |
157 |
|
158 |
/* Define to 1 if you have the <sys/devpoll.h> header file. */ |
159 |
/* #undef HAVE_SYS_DEVPOLL_H */ |
160 |
|
161 |
/* Define to 1 if you have the <sys/param.h> header file. */ |
162 |
/* #undef HAVE_SYS_PARAM_H */ |
163 |
|
164 |
/* Define to 1 if you have the <sys/resource.h> header file. */ |
165 |
/* #undef HAVE_SYS_RESOURCE_H */ |
166 |
|
167 |
/* Define to 1 if you have the <sys/stat.h> header file. */ |
168 |
#define HAVE_SYS_STAT_H 1 |
169 |
|
170 |
/* Define to 1 if you have the <sys/syslog.h> header file. */ |
171 |
#define HAVE_SYS_SYSLOG_H 1 |
172 |
|
173 |
/* Define to 1 if you have the <sys/types.h> header file. */ |
174 |
#define HAVE_SYS_TYPES_H 1 |
175 |
|
176 |
/* Define to 1 if you have the <sys/wait.h> header file. */ |
177 |
/* #undef HAVE_SYS_WAIT_H */ |
178 |
|
179 |
/* Define to 1 if the system has the type `uintptr_t'. */ |
180 |
/* #undef HAVE_UINTPTR_T */ |
181 |
|
182 |
/* Define to 1 if you have the <unistd.h> header file. */ |
183 |
/* #undef HAVE_UNISTD_H */ |
184 |
|
185 |
/* Define to 1 if you have the `vsnprintf' function. */ |
186 |
/* #undef HAVE_VSNPRINTF */ |
187 |
|
188 |
/* Define to 1 if you have the <wait.h> header file. */ |
189 |
/* #undef HAVE_WAIT_H */ |
190 |
|
191 |
/* Miscellaneous sanity checks for the ircd. Makes it slightly slower */ |
192 |
#define INVARIANTS 1 |
193 |
|
194 |
/* Define if IPv6 support is present and available. */ |
195 |
/* #undef IPV6 */ |
196 |
|
197 |
/* Size of the local client heap. */ |
198 |
#define LCLIENT_HEAP_SIZE 128 |
199 |
|
200 |
/* Log facility to use for syslog() */ |
201 |
/* #undef LOG_FACILITY */ |
202 |
|
203 |
/* Define this to disable debugging support. */ |
204 |
/* #undef NDEBUG */ |
205 |
|
206 |
/* Nickname length */ |
207 |
#define NICKLEN (_NICKLEN+1) |
208 |
|
209 |
/* Size of the WHOWAS array. */ |
210 |
#define NICKNAMEHISTORYLENGTH 1500 |
211 |
|
212 |
/* Disable the block allocator. */ |
213 |
/* #undef NOBALLOC */ |
214 |
|
215 |
/* Define to 1 if your system has no in6addr_any. */ |
216 |
/* #undef NO_IN6ADDR_ANY */ |
217 |
|
218 |
/* Define if you have no native inet_aton() function. */ |
219 |
#define NO_INET_ATON 1 |
220 |
|
221 |
/* Define if you have no native inet_ntop() function. */ |
222 |
#define NO_INET_NTOP 1 |
223 |
|
224 |
/* Define if you have no native inet_pton() function. */ |
225 |
#define NO_INET_PTON 1 |
226 |
|
227 |
/* Define to the address where bug reports for this package should be sent. */ |
228 |
#define PACKAGE_BUGREPORT "" |
229 |
|
230 |
/* Define to the full name of this package. */ |
231 |
#define PACKAGE_NAME "ircd-hybrid" |
232 |
|
233 |
/* Define to the full name and version of this package. */ |
234 |
#define PACKAGE_STRING "ircd-hybrid 7.2" |
235 |
|
236 |
/* Define to the one symbol short name of this package. */ |
237 |
#define PACKAGE_TARNAME "ircd-hybrid" |
238 |
|
239 |
/* Define to the version of this package. */ |
240 |
#define PACKAGE_VERSION "7.2" |
241 |
|
242 |
/* Path to /dev/null */ |
243 |
#define PATH_DEVNULL "nul" |
244 |
|
245 |
/* This is the type of IO loop we are using */ |
246 |
#define SELECT_TYPE "WSAAsyncSelect" |
247 |
|
248 |
/* Suffix for shared libraries on this platform. */ |
249 |
/* #undef SHARED_SUFFIX */ |
250 |
|
251 |
/* The size of a `int64_t', as computed by sizeof. */ |
252 |
#define SIZEOF_INT64_T 8 |
253 |
|
254 |
/* The size of a `long long', as computed by sizeof. */ |
255 |
#define SIZEOF_LONG_LONG 8 |
256 |
|
257 |
/* Define to 1 if sockaddr_in has a 'sin_len' member. */ |
258 |
/* #undef SOCKADDR_IN_HAS_LEN */ |
259 |
|
260 |
/* Define to 1 if dynamic modules can't be used. */ |
261 |
#define STATIC_MODULES 1 |
262 |
|
263 |
/* Define to 1 if you have the ANSI C header files. */ |
264 |
#define STDC_HEADERS 1 |
265 |
|
266 |
/* Define to 1 if string.h may be included along with strings.h */ |
267 |
/* #undef STRING_WITH_STRINGS */ |
268 |
|
269 |
/* Send connect notices for other servers to syslog */ |
270 |
/* #undef SYSLOG_CONNECT */ |
271 |
|
272 |
/* Send oper kills to syslog */ |
273 |
/* #undef SYSLOG_KILL */ |
274 |
|
275 |
/* Send /OPER successes to syslog */ |
276 |
/* #undef SYSLOG_OPER */ |
277 |
|
278 |
/* Send remote squits for all servers to syslog */ |
279 |
/* #undef SYSLOG_SQUIT */ |
280 |
|
281 |
/* Send user log stuff to syslog */ |
282 |
/* #undef SYSLOG_USERS */ |
283 |
|
284 |
/* Size of the topic heap. */ |
285 |
#define TOPIC_HEAP_SIZE 256 |
286 |
|
287 |
/* If enabled, server links to your network must have a minimum of TS5. */ |
288 |
/* #undef TS5_ONLY */ |
289 |
|
290 |
/* Use kqueue() for I/O loop */ |
291 |
/* #undef USE_KQUEUE */ |
292 |
|
293 |
/* Send vital ircd messages to syslog */ |
294 |
/* #undef USE_SYSLOG */ |
295 |
|
296 |
/* Define to 1 if your processor stores words with the most significant byte |
297 |
first (like Motorola and SPARC, unlike Intel and VAX). */ |
298 |
/* #undef WORDS_BIGENDIAN */ |
299 |
|
300 |
/* Enable GNU extensions on systems that have them. */ |
301 |
#ifndef _GNU_SOURCE |
302 |
# define _GNU_SOURCE 1 |
303 |
#endif |
304 |
|
305 |
/* This is needed to use strtok_r on Solaris. */ |
306 |
/* #undef __EXTENSIONS__ */ |
307 |
|
308 |
/* If system does not define in_port_t, define it to what it should be. */ |
309 |
#define in_port_t u_short |
310 |
|
311 |
/* Define to `__inline__' or `__inline' if that's what the C compiler |
312 |
calls it, or to nothing if 'inline' is not supported under any name. */ |
313 |
#ifndef __cplusplus |
314 |
#define inline |
315 |
#endif |
316 |
|
317 |
/* Define to `long long' if <sys/types.h> does not define. */ |
318 |
/* #undef int64_t */ |
319 |
|
320 |
/* If system does not define sa_family_t, define it here. */ |
321 |
#define sa_family_t u_short |
322 |
|
323 |
/* If we don't have a real socklen_t, unsigned int is good enough. */ |
324 |
#define socklen_t unsigned int |
325 |
|
326 |
/* Broken glibc implementations use __ss_family instead of ss_family. Define |
327 |
to __ss_family if true. */ |
328 |
/* #undef ss_family */ |
329 |
|
330 |
/* If system does not define u_int16_t, define a usable substitute. */ |
331 |
#define u_int16_t unsigned short int |
332 |
|
333 |
/* If system does not define u_int32_t, define to unsigned long int here. */ |
334 |
#define u_int32_t unsigned int |
335 |
|
336 |
/* Define to `unsigned long long' if <sys/types.h> does not define. */ |
337 |
#define uint64_t unsigned __int64 |