(linux build fix)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4893 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2010-01-19 19:44:04 +00:00
parent 562ed5e8a5
commit 39d570dc70
3 changed files with 18 additions and 17 deletions

View File

@ -45,6 +45,7 @@
#include "HW/Memmap.h"
#include "PowerPC/PowerPC.h"
#include "PowerPC/JitCommon/JitBase.h"
#include "PowerPC/JitCommon/JitBackpatch.h"
#include "x64Analyzer.h"
namespace EMM

View File

@ -34,23 +34,6 @@
#include <windows.h>
#endif
#ifndef _WIN32
// A bit of a hack to get things building under linux. We manually fill in this structure as needed
// from the real context.
struct CONTEXT
{
#ifdef _M_X64
u64 Rip;
u64 Rax;
#else
u32 Eip;
u32 Eax;
#endif
};
#endif
using namespace Gen;

View File

@ -27,6 +27,23 @@
// void Jit(u32 em_address);
#ifndef _WIN32
// A bit of a hack to get things building under linux. We manually fill in this structure as needed
// from the real context.
struct CONTEXT
{
#ifdef _M_X64
u64 Rip;
u64 Rax;
#else
u32 Eip;
u32 Eax;
#endif
};
#endif
class TrampolineCache : public Gen::XCodeBlock
{