From a699dbcc5baf12edd35562518802655835a4e991 Mon Sep 17 00:00:00 2001 From: Haru Date: Tue, 11 Aug 2015 02:30:48 +0200 Subject: HPM Hooks Update --- src/common/HPMDataCheck.h | 7 +++++-- 1 file 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 -- cgit v1.2.3-70-g09d2