From a1eb71c0ba7395301e48b8bc1ce12340e9630489 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 19 Jul 2017 23:04:14 +0300 Subject: Prevent excluding servercommands.inc --- src/resources/db/groupdb.cpp | 1 + src/resources/servercommands.inc | 2 ++ 2 files changed, 3 insertions(+) (limited to 'src/resources') diff --git a/src/resources/db/groupdb.cpp b/src/resources/db/groupdb.cpp index b2e1ca011..fc61033cc 100644 --- a/src/resources/db/groupdb.cpp +++ b/src/resources/db/groupdb.cpp @@ -73,6 +73,7 @@ static ServerCommandTypeT parseCommand(const std::string &str, return ServerCommandType::Max; } +SERVERCOMMANDS_VOID #undef servercommandFirst #undef servercommand #undef servercommand2 diff --git a/src/resources/servercommands.inc b/src/resources/servercommands.inc index a8c9efa5b..0089934e5 100644 --- a/src/resources/servercommands.inc +++ b/src/resources/servercommands.inc @@ -18,6 +18,8 @@ * along with this program. If not, see . */ +#define SERVERCOMMANDS_VOID + // Hercules commands servercommandFirst(warp) servercommand(where) -- cgit v1.2.3-70-g09d2