ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/contrib/setup-win32.h
Revision: 185
Committed: Sun Oct 23 15:39:00 2005 UTC (20 years, 9 months ago) by adx
Content type: text/x-chdr
File size: 9242 byte(s)
Log Message:
* dynamic module support for win32

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

Properties

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