gsdx: properly defined type for xbyak

Compatible 64 bits and avoid local modification
This commit is contained in:
Gregory Hainaut 2015-11-13 09:30:48 +01:00
parent f4a76c48c2
commit 736656f7d6
2 changed files with 7 additions and 2 deletions

View File

@ -75,6 +75,11 @@ typedef uint64 uptr;
typedef uint32 uptr;
#endif
// xbyak compatibilities
typedef int64 sint64;
#define MIE_INTEGER_TYPE_DEFINED
// stdc
#include <stddef.h>

View File

@ -130,7 +130,7 @@ enum {
DEFAULT_MAX_CODE_SIZE = 4096,
VERSION = 0x4840 /* 0xABCD = A.BC(D) */
};
/*
#ifndef MIE_INTEGER_TYPE_DEFINED
#define MIE_INTEGER_TYPE_DEFINED
#ifdef _MSC_VER
@ -144,7 +144,7 @@ typedef unsigned int uint32;
typedef unsigned short uint16;
typedef unsigned char uint8;
#endif
*/
#ifndef MIE_ALIGN
#ifdef _MSC_VER
#define MIE_ALIGN(x) __declspec(align(x))