Fix compilation against SourceMod 1.10
MacroAssembler base is now in the |sp| namespace.
This commit is contained in:
parent
f775e44e80
commit
70eee8482a
@ -37,6 +37,7 @@
|
|||||||
#include <macro-assembler-x86.h>
|
#include <macro-assembler-x86.h>
|
||||||
#include "extension.h"
|
#include "extension.h"
|
||||||
|
|
||||||
|
using namespace sp;
|
||||||
|
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
// >> DEFINITIONS
|
// >> DEFINITIONS
|
||||||
|
@ -8,6 +8,7 @@ SourceHook::IHookManagerAutoGen *g_pHookManager = NULL;
|
|||||||
ke::Vector<DHooksManager *> g_pHooks;
|
ke::Vector<DHooksManager *> g_pHooks;
|
||||||
|
|
||||||
using namespace SourceHook;
|
using namespace SourceHook;
|
||||||
|
using namespace sp;
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#define OBJECT_OFFSET sizeof(void *)
|
#define OBJECT_OFFSET sizeof(void *)
|
||||||
|
Loading…
Reference in New Issue
Block a user