Maybe fix linux build

Who knows without a linux VM. I sure don't. Only 1 way to find out quickly. Nobody reads these notes anyway ¯\_(ツ)_/¯
This commit is contained in:
Farseer 2018-01-25 12:39:06 +02:00 committed by Zangetsu38
parent 2d4af4c88c
commit c3ea27e378
2 changed files with 5 additions and 16 deletions

View file

@ -10,11 +10,6 @@
#include <cmath>
#define ASMJIT_STATIC
#define ASMJIT_DEBUG
#include "asmjit.h"
#define SPU_OFF_128(x, ...) asmjit::x86::oword_ptr(*cpu, offset32(&SPUThread::x, ##__VA_ARGS__))
#define SPU_OFF_64(x, ...) asmjit::x86::qword_ptr(*cpu, offset32(&SPUThread::x, ##__VA_ARGS__))
#define SPU_OFF_32(x, ...) asmjit::x86::dword_ptr(*cpu, offset32(&SPUThread::x, ##__VA_ARGS__))

View file

@ -1,17 +1,11 @@
#pragma once
#include "SPURecompiler.h"
#define ASMJIT_STATIC
#define ASMJIT_DEBUG
namespace asmjit
{
struct JitRuntime;
struct CodeHolder;
struct X86Compiler;
struct X86Gp;
struct X86Xmm;
struct X86Mem;
struct Label;
}
#include "asmjit.h"
#include "SPURecompiler.h"
// SPU ASMJIT Recompiler
class spu_recompiler : public spu_recompiler_base