unrealircd- supernets unrealircd source & configuration |
git clone git://git.acid.vegas/unrealircd.git |
Log | Files | Refs | Archive |
setup.h (2470B)
1 /************************************************************************ 2 * IRC - Internet Relay Chat, include/win32/setup.h 3 * Copyright (C) 1999 Carsten Munk 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 1, or (at your option) 8 * any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 18 * 19 * $Id$ 20 */ 21 22 #ifndef __setup_include__ 23 #define __setup_include__ 24 25 #undef SYSSYSLOGH 26 #define NOINDEX 27 #undef TIMES_2 28 #undef GETRUSAGE_2 29 #define CONFDIR "conf" 30 #define MODULESDIR "modules" 31 #define LOGDIR "logs" 32 #define PERMDATADIR "data" 33 #define CACHEDIR "cache" 34 #define TMPDIR "tmp" 35 #define PIDFILE PERMDATADIR"/unrealircd.pid" 36 #define CONTROLFILE PERMDATADIR"/unrealircd.ctl" 37 #define NO_U_TYPES 38 #define NEED_U_INT32_T 39 #define strcasecmp _stricmp 40 #define strncasecmp _strnicmp 41 #define HAVE_EXPLICIT_BZERO 42 #define HAVE_STRNLEN 43 #define explicit_bzero(a,b) SecureZeroMemory(a,b) 44 #define HAS_ASN1_TIME_diff 45 #define HAS_SSL_CTX_SET1_CURVES_LIST 46 #define HAS_SSL_CTX_SET_MIN_PROTO_VERSION 47 #define HAS_SSL_CTX_SET_SECURITY_LEVEL 48 #define HAS_X509_check_host 49 #define HAS_X509_get0_notAfter 50 51 /* mode_t: Needed in s_conf.c for the third argument of open(3p). 52 * Should be an int because of http://msdn.microsoft.com/en-us/library/z0kc8e3z(VS.71).aspx 53 */ 54 #define mode_t int 55 56 /* We don't use any of the wincrypt stuff and this silences 57 * a warning emitted by LibreSSL: 58 */ 59 #define NOCRYPT 60 61 /* We require Windows 7 or later */ 62 #define NTDDI_VERSION 0x06010000 63 #define _WIN32_WINNT 0x0601 64 65 /* Generation version number (e.g.: 3 for Unreal3*) */ 66 #define UNREAL_VERSION_GENERATION 6 67 68 /* Major version number (e.g.: 2 for Unreal3.2*) */ 69 #define UNREAL_VERSION_MAJOR 1 70 71 /* Minor version number (e.g.: 1 for Unreal3.2.1) */ 72 #define UNREAL_VERSION_MINOR 10 73 74 /* Version suffix such as a beta marker or release candidate marker. (e.g.: 75 -rcX for unrealircd-3.2.9-rcX) */ 76 #define UNREAL_VERSION_SUFFIX "" 77 78 #endif