]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - make/template/config.h
Merge INSPIRCD_MODULE and INSPIRCD_TARGET.
[user/henk/code/inspircd.git] / make / template / config.h
1 /*
2  * InspIRCd -- Internet Relay Chat Daemon
3  *
4  *   Copyright (C) 2014 Peter Powell <petpow@saberuk.com>
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
22 #define INSPIRCD_BRANCH   "InspIRCd-@VERSION_MAJOR@.@VERSION_MINOR@"
23 #define INSPIRCD_VERSION  "InspIRCd-@VERSION_FULL@"
24
25 #define INSPIRCD_CONFIG_PATH "@CONFIG_DIR@"
26 #define INSPIRCD_DATA_PATH   "@DATA_DIR@"
27 #define INSPIRCD_LOG_PATH    "@LOG_DIR@"
28 #define INSPIRCD_MODULE_PATH "@MODULE_DIR@"
29
30 #ifndef _WIN32
31  %target include/config.h
32  %define HAS_CLOCK_GETTIME
33  %define HAS_EVENTFD
34 #endif