mirror of https://github.com/PCSX2/pcsx2.git
gsdx: Fix uptr size on Windows x64 build
This commit is contained in:
parent
413d1828eb
commit
a3b3b4f657
|
@ -60,6 +60,10 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __x86_64__
|
||||||
|
#define _M_AMD64
|
||||||
|
#endif
|
||||||
|
|
||||||
// put these into vc9/common7/ide/usertype.dat to have them highlighted
|
// put these into vc9/common7/ide/usertype.dat to have them highlighted
|
||||||
|
|
||||||
typedef unsigned char uint8;
|
typedef unsigned char uint8;
|
||||||
|
@ -70,7 +74,7 @@ typedef unsigned int uint32;
|
||||||
typedef signed int int32;
|
typedef signed int int32;
|
||||||
typedef unsigned long long uint64;
|
typedef unsigned long long uint64;
|
||||||
typedef signed long long int64;
|
typedef signed long long int64;
|
||||||
#ifdef __x86_64__
|
#ifdef _M_AMD64
|
||||||
typedef uint64 uptr;
|
typedef uint64 uptr;
|
||||||
#else
|
#else
|
||||||
typedef uint32 uptr;
|
typedef uint32 uptr;
|
||||||
|
@ -210,10 +214,6 @@ using namespace std;
|
||||||
|
|
||||||
#define ASSERT assert
|
#define ASSERT assert
|
||||||
|
|
||||||
#ifdef __x86_64__
|
|
||||||
#define _M_AMD64
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef _M_AMD64
|
#ifdef _M_AMD64
|
||||||
// Yeah let use mips naming ;)
|
// Yeah let use mips naming ;)
|
||||||
#ifdef _WIN64
|
#ifdef _WIN64
|
||||||
|
|
Loading…
Reference in New Issue