moved these includes for GCC
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401901
This commit is contained in:
parent
45860880ef
commit
4365d3763d
@ -29,6 +29,16 @@
|
|||||||
* Version: $Id$
|
* Version: $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <sh_memory.h>
|
||||||
|
/* HACK to avoid including sourcehook.h for just the SH_ASSERT definition */
|
||||||
|
#if !defined SH_ASSERT
|
||||||
|
#define SH_ASSERT(x, info)
|
||||||
|
#include <sh_pagealloc.h>
|
||||||
|
#undef SH_ASSERT
|
||||||
|
#else
|
||||||
|
#include <sh_pagealloc.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
@ -32,18 +32,11 @@
|
|||||||
#ifndef _INCLUDE_SOURCEPAWN_VM_ENGINE_H_
|
#ifndef _INCLUDE_SOURCEPAWN_VM_ENGINE_H_
|
||||||
#define _INCLUDE_SOURCEPAWN_VM_ENGINE_H_
|
#define _INCLUDE_SOURCEPAWN_VM_ENGINE_H_
|
||||||
|
|
||||||
#include <sh_memory.h>
|
|
||||||
/* HACK to avoid including sourcehook.h for just the SH_ASSERT definition */
|
|
||||||
#if !defined SH_ASSERT
|
|
||||||
#define SH_ASSERT(x, info)
|
|
||||||
#include <sh_pagealloc.h>
|
|
||||||
#undef SH_ASSERT
|
|
||||||
#else
|
|
||||||
#include <sh_pagealloc.h>
|
|
||||||
#endif
|
|
||||||
#include "sp_vm_api.h"
|
#include "sp_vm_api.h"
|
||||||
#include "sp_vm_function.h"
|
#include "sp_vm_function.h"
|
||||||
|
|
||||||
|
class SourceHook::CPageAlloc;
|
||||||
|
|
||||||
struct TracedCall
|
struct TracedCall
|
||||||
{
|
{
|
||||||
uint32_t cip;
|
uint32_t cip;
|
||||||
|
Loading…
Reference in New Issue
Block a user