From e3bcf95ee996c058c73879c12ac5a487f8dcdf46 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Wed, 21 May 2014 01:26:22 +0100 Subject: Prefix all definitions in config.h to avoid potential collisions. --- make/template/config.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'make/template') diff --git a/make/template/config.h b/make/template/config.h index 6aa593975..513c550f5 100644 --- a/make/template/config.h +++ b/make/template/config.h @@ -19,15 +19,15 @@ #pragma once -#define BRANCH "InspIRCd-@VERSION_MAJOR@.@VERSION_MINOR@" -#define VERSION "InspIRCd-@VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@" -#define REVISION "@VERSION_LABEL@" -#define SYSTEM "@SYSTEM_NAME_VERSION@" +#define INSPIRCD_BRANCH "InspIRCd-@VERSION_MAJOR@.@VERSION_MINOR@" +#define INSPIRCD_VERSION "InspIRCd-@VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@" +#define INSPIRCD_REVISION "@VERSION_LABEL@" +#define INSPIRCD_SYSTEM "@SYSTEM_NAME_VERSION@" -#define CONFIG_PATH "@CONFIG_DIR@" -#define DATA_PATH "@DATA_DIR@" -#define LOG_PATH "@LOG_DIR@" -#define MOD_PATH "@MODULE_DIR@" +#define INSPIRCD_CONFIG_PATH "@CONFIG_DIR@" +#define INSPIRCD_DATA_PATH "@DATA_DIR@" +#define INSPIRCD_LOG_PATH "@LOG_DIR@" +#define INSPIRCD_MODULE_PATH "@MODULE_DIR@" #define INSPIRCD_SOCKETENGINE_NAME "@SOCKETENGINE@" -- cgit v1.2.3