ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/contrib/setup-win32.h
Revision: 74
Committed: Tue Oct 4 19:29:56 2005 UTC (20 years, 10 months ago) by adx
Content type: text/x-chdr
File size: 9388 byte(s)
Log Message:
- preliminary win32 fixes

File Contents

# User Rev Content
1 adx 30 /* 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 adx 74 /* Length of hostname. Updated to comply with RFC1123 */
192     #define HOSTLEN 63
193    
194 adx 30 /* Miscellaneous sanity checks for the ircd. Makes it slightly slower */
195     #define INVARIANTS 1
196    
197     /* Define if IPv6 support is present and available. */
198     /* #undef IPV6 */
199    
200     /* Size of the local client heap. */
201     #define LCLIENT_HEAP_SIZE 128
202    
203     /* Log facility to use for syslog() */
204     /* #undef LOG_FACILITY */
205    
206     /* Define this to disable debugging support. */
207     /* #undef NDEBUG */
208    
209     /* Nickname length */
210     #define NICKLEN (_NICKLEN+1)
211    
212     /* Size of the WHOWAS array. */
213     #define NICKNAMEHISTORYLENGTH 1500
214    
215     /* Disable the block allocator. */
216     /* #undef NOBALLOC */
217    
218     /* Define to 1 if your system has no in6addr_any. */
219     /* #undef NO_IN6ADDR_ANY */
220    
221     /* Define if you have no native inet_aton() function. */
222     #define NO_INET_ATON 1
223    
224     /* Define if you have no native inet_ntop() function. */
225     #define NO_INET_NTOP 1
226    
227     /* Define if you have no native inet_pton() function. */
228     #define NO_INET_PTON 1
229    
230     /* Define to the address where bug reports for this package should be sent. */
231     #define PACKAGE_BUGREPORT ""
232    
233     /* Define to the full name of this package. */
234     #define PACKAGE_NAME "ircd-hybrid"
235    
236     /* Define to the full name and version of this package. */
237     #define PACKAGE_STRING "ircd-hybrid 7.2"
238    
239     /* Define to the one symbol short name of this package. */
240     #define PACKAGE_TARNAME "ircd-hybrid"
241    
242     /* Define to the version of this package. */
243     #define PACKAGE_VERSION "7.2"
244    
245     /* Path to /dev/null */
246     #define PATH_DEVNULL "nul"
247    
248     /* This is the type of IO loop we are using */
249     #define SELECT_TYPE "WSAAsyncSelect"
250    
251     /* Suffix for shared libraries on this platform. */
252     /* #undef SHARED_SUFFIX */
253    
254     /* The size of a `int64_t', as computed by sizeof. */
255     #define SIZEOF_INT64_T 8
256    
257     /* The size of a `long long', as computed by sizeof. */
258     #define SIZEOF_LONG_LONG 8
259    
260     /* Define to 1 if sockaddr_in has a 'sin_len' member. */
261     /* #undef SOCKADDR_IN_HAS_LEN */
262    
263     /* Define to 1 if dynamic modules can't be used. */
264     #define STATIC_MODULES 1
265    
266     /* Define to 1 if you have the ANSI C header files. */
267     #define STDC_HEADERS 1
268    
269     /* Define to 1 if string.h may be included along with strings.h */
270     /* #undef STRING_WITH_STRINGS */
271    
272     /* Send connect notices for other servers to syslog */
273     /* #undef SYSLOG_CONNECT */
274    
275     /* Send oper kills to syslog */
276     /* #undef SYSLOG_KILL */
277    
278     /* Send /OPER successes to syslog */
279     /* #undef SYSLOG_OPER */
280    
281     /* Send remote squits for all servers to syslog */
282     /* #undef SYSLOG_SQUIT */
283    
284     /* Send user log stuff to syslog */
285     /* #undef SYSLOG_USERS */
286    
287     /* Size of the topic heap. */
288     #define TOPIC_HEAP_SIZE 256
289    
290     /* If enabled, server links to your network must have a minimum of TS5. */
291     /* #undef TS5_ONLY */
292    
293 adx 74 /* Length of username/ident */
294     #define USERLEN 10
295    
296 adx 30 /* Use kqueue() for I/O loop */
297     /* #undef USE_KQUEUE */
298    
299     /* Send vital ircd messages to syslog */
300     /* #undef USE_SYSLOG */
301    
302     /* Define to 1 if your processor stores words with the most significant byte
303     first (like Motorola and SPARC, unlike Intel and VAX). */
304     /* #undef WORDS_BIGENDIAN */
305    
306     /* Enable GNU extensions on systems that have them. */
307     #ifndef _GNU_SOURCE
308     # define _GNU_SOURCE 1
309     #endif
310    
311     /* This is needed to use strtok_r on Solaris. */
312     /* #undef __EXTENSIONS__ */
313    
314     /* If system does not define in_port_t, define it to what it should be. */
315     #define in_port_t u_short
316    
317     /* Define to `__inline__' or `__inline' if that's what the C compiler
318     calls it, or to nothing if 'inline' is not supported under any name. */
319     #ifndef __cplusplus
320     #define inline
321     #endif
322    
323     /* Define to `long long' if <sys/types.h> does not define. */
324     /* #undef int64_t */
325    
326     /* If system does not define sa_family_t, define it here. */
327     #define sa_family_t u_short
328    
329     /* If we don't have a real socklen_t, unsigned int is good enough. */
330     #define socklen_t unsigned int
331    
332     /* Broken glibc implementations use __ss_family instead of ss_family. Define
333     to __ss_family if true. */
334     /* #undef ss_family */
335    
336     /* If system does not define u_int16_t, define a usable substitute. */
337     #define u_int16_t unsigned short int
338    
339     /* If system does not define u_int32_t, define to unsigned long int here. */
340     #define u_int32_t unsigned int
341    
342     /* Define to `unsigned long long' if <sys/types.h> does not define. */
343     #define uint64_t unsigned __int64

Properties

Name Value
svn:eol-style native
svn:keywords Id Revision