InspIRCd  4.0
config.h
1 /*
2  * InspIRCd -- Internet Relay Chat Daemon
3  *
4  * Copyright (C) 2014, 2016, 2018-2021 Sadie Powell <[email protected]>
5  *
6  * This file is part of InspIRCd. InspIRCd is free software: you can
7  * redistribute it and/or modify it under the terms of the GNU General Public
8  * License as published by the Free Software Foundation, version 2.
9  *
10  * This program is distributed in the hope that it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
13  * details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 
20 #pragma once
21 
23 #define INSPIRCD_BRANCH "[email protected][email protected]"
24 
26 #define INSPIRCD_VERSION "[email protected][email protected]"
27 
29 #define INSPIRCD_VERSION_BEFORE(MAJOR, MINOR) (((@[email protected] << 8) | @[email protected]) < ((MAJOR << 8) | (MINOR)))
30 
32 #define INSPIRCD_VERSION_SINCE(MAJOR, MINOR) (((@[email protected] << 8) | @[email protected]) >= ((MAJOR << 8) | (MINOR)))
33 
35 #define INSPIRCD_CONFIG_PATH "@[email protected]"
36 
38 #define INSPIRCD_DATA_PATH "@[email protected]"
39 
41 #define INSPIRCD_LOG_PATH "@[email protected]"
42 
44 #define INSPIRCD_MODULE_PATH "@[email protected]"
45 
47 #define INSPIRCD_RUNTIME_PATH "@[email protected]"
48 
50 #define INSPIRCD_DOCS "https://docs.inspircd.org/@[email protected]/"
51 
52 #ifndef _WIN32
53  %target include/config.h
54 
56  %define HAS_ARC4RANDOM_BUF
57 
59  %define HAS_CLOCK_GETTIME
60 
61 #endif