ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid-7.2/contrib/setup-win32.h
Revision: 309
Committed: Fri Dec 9 11:25:44 2005 UTC (20 years, 8 months ago) by adx
Content type: text/x-chdr
File size: 9366 byte(s)
Log Message:
+ fixed bugs related to win32 & static builds

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

Properties

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