summaryrefslogtreecommitdiff
path: root/make/template
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2014-05-21 01:26:22 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-05-23 14:13:51 +0200
commite3bcf95ee996c058c73879c12ac5a487f8dcdf46 (patch)
tree11cb73fdd8eb3360b20185e8feac6fda9cf6f21d /make/template
parente6d245a3e80c0e0c05476e5bd9c45a77e16fecec (diff)
Prefix all definitions in config.h to avoid potential collisions.
Diffstat (limited to 'make/template')
-rw-r--r--make/template/config.h16
1 files changed, 8 insertions, 8 deletions
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@"