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