summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-08-11 02:30:48 +0200
committerHaru <haru@dotalux.com>2015-08-13 17:16:27 +0200
commita699dbcc5baf12edd35562518802655835a4e991 (patch)
tree01b465585e7aeb1339c8e9012927ecd83ec9e0cb
parent959c8a772fe4cb775facfe904d243d644e394bf1 (diff)
downloadhercules-a699dbcc5baf12edd35562518802655835a4e991.tar.gz
hercules-a699dbcc5baf12edd35562518802655835a4e991.tar.bz2
hercules-a699dbcc5baf12edd35562518802655835a4e991.tar.xz
hercules-a699dbcc5baf12edd35562518802655835a4e991.zip
HPM Hooks Update
-rw-r--r--src/common/HPMDataCheck.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/common/HPMDataCheck.h b/src/common/HPMDataCheck.h
index ad514c6ab..b112436a8 100644
--- a/src/common/HPMDataCheck.h
+++ b/src/common/HPMDataCheck.h
@@ -6,13 +6,16 @@
#ifndef HPM_DATA_CHECK_H
#define HPM_DATA_CHECK_H
-#if !defined(HERCULES_CORE) && !defined(HPMHOOKGEN)
+#if !defined(HPMHOOKGEN)
HPExport const char *HPM_shared_symbols(int server_type)
{
#include "common/HPMSymbols.inc.h"
return NULL;
}
-#endif // ! HERCULES_CORE && ! HPMHOOKGEN
+#endif // ! HPMHOOKGEN
+#ifdef HPM_SYMBOL
+#undef HPM_SYMBOL
+#endif // HPM_SYMBOL
HPExport const struct s_HPMDataCheck HPMDataCheck[] = {
#ifdef CHAR_CHAR_H