Buildfix for non-Windows.

This commit is contained in:
Sacha 2013-07-29 00:51:50 +10:00
parent ccb76a58c3
commit 580ce69897
3 changed files with 10 additions and 4 deletions

View File

@ -169,10 +169,10 @@ void ArmRegCacheFPU::MapRegV(int vreg, int flags) {
void ArmRegCacheFPU::LoadToRegV(ARMReg armReg, int vreg) {
if (vr[vreg].loc == ML_ARMREG) {
emit->VMOV(armReg, vr[vreg].reg);
emit_->VMOV(armReg, vr[vreg].reg);
} else {
MapRegV(vreg);
emit-> VMOV(armReg, V(vreg));
emit_->VMOV(armReg, V(vreg));
}
}

View File

@ -1,4 +1,6 @@
#ifdef _WIN32
#include "stdafx.h"
#endif
#include "MIPSAsm.h"
namespace MIPSAsm
@ -405,4 +407,4 @@ void CMipsInstruction::Encode()
}
}
}
}

View File

@ -1,4 +1,8 @@
#ifdef _WIN32
#include "stdafx.h"
#else
#include <stddef.h>
#endif
#include "MIPSAsmTables.h"
namespace MIPSAsm
@ -415,4 +419,4 @@ const tMipsOpcode MipsOpcodes[] = {
{ NULL, NULL, 0, 0 }
};
}
}