From 30eb92174f66c447ff15dc028badde65e611d5ab Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 7 Jun 2007 04:08:34 +0000 Subject: [PATCH] fixed the Windows build! (it's not too often we say that, eh) --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40910 --- core/ChatTriggers.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/ChatTriggers.cpp b/core/ChatTriggers.cpp index dda4a8b7..678b6c6b 100644 --- a/core/ChatTriggers.cpp +++ b/core/ChatTriggers.cpp @@ -5,7 +5,12 @@ /* :HACKHACK: We can't SH_DECL here because ConCmdManager.cpp does */ extern bool __SourceHook_FHRemoveConCommandDispatch(void *, bool, class fastdelegate::FastDelegate0); + +#if PLAPI_VERSION >= 11 extern int __SourceHook_FHAddConCommandDispatch(void *, bool, class fastdelegate::FastDelegate0); +#else +extern bool __SourceHook_FHAddConCommandDispatch(void *, bool, class fastdelegate::FastDelegate0); +#endif ChatTriggers g_ChatTriggers;