summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2016-02-26 13:12:09 +0000
committerPeter Powell <petpow@saberuk.com>2016-04-04 13:20:21 +0100
commit30bd7bb39fb55a4b6b3075a1f8a7df47bc0e261f (patch)
tree23119a89eb97f752cb68fd6e3bad69aa1000663d /src
parent932748db6dd2a7225c9f12bc34339fcb2f37c319 (diff)
Rename PURE_STATIC to INSPIRCD_STATIC.
Diffstat (limited to 'src')
-rw-r--r--src/coremods/core_info/cmd_modules.cpp2
-rw-r--r--src/modmanager_dynamic.cpp2
-rw-r--r--src/modmanager_static.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/coremods/core_info/cmd_modules.cpp b/src/coremods/core_info/cmd_modules.cpp
index 5f02d071f..ef1ee7dbe 100644
--- a/src/coremods/core_info/cmd_modules.cpp
+++ b/src/coremods/core_info/cmd_modules.cpp
@@ -64,7 +64,7 @@ CmdResult CommandModules::Handle (const std::vector<std::string>& parameters, Us
if (!(V.Flags & mult))
flags[pos] = '-';
-#ifdef PURE_STATIC
+#ifdef INSPIRCD_STATIC
user->WriteRemoteNumeric(702, InspIRCd::Format("%s %s :%s", m->ModuleSourceFile.c_str(), flags.c_str(), V.description.c_str()));
#else
std::string srcrev = m->ModuleDLLManager->GetVersion();
diff --git a/src/modmanager_dynamic.cpp b/src/modmanager_dynamic.cpp
index 9a687ad2b..9e940cc32 100644
--- a/src/modmanager_dynamic.cpp
+++ b/src/modmanager_dynamic.cpp
@@ -25,7 +25,7 @@
#include <dirent.h>
#endif
-#ifndef PURE_STATIC
+#ifndef INSPIRCD_STATIC
bool ModuleManager::Load(const std::string& modname, bool defer)
{
diff --git a/src/modmanager_static.cpp b/src/modmanager_static.cpp
index 98ed26c67..5c04a7680 100644
--- a/src/modmanager_static.cpp
+++ b/src/modmanager_static.cpp
@@ -23,7 +23,7 @@
#include "exitcodes.h"
#include <iostream>
-#ifdef PURE_STATIC
+#ifdef INSPIRCD_STATIC
typedef std::map<std::string, AllModuleList*> modmap;
static std::vector<AllCommandList::fn>* cmdlist = NULL;