From a3b3b4f6576fc4a6b61b1b0498ea65d1ffe99e93 Mon Sep 17 00:00:00 2001 From: Jonathan Li Date: Sat, 29 Apr 2017 22:36:40 +0100 Subject: [PATCH] gsdx: Fix uptr size on Windows x64 build --- plugins/GSdx/stdafx.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/GSdx/stdafx.h b/plugins/GSdx/stdafx.h index 4a30e1f052..8f2d30597f 100644 --- a/plugins/GSdx/stdafx.h +++ b/plugins/GSdx/stdafx.h @@ -60,6 +60,10 @@ #endif +#ifdef __x86_64__ +#define _M_AMD64 +#endif + // put these into vc9/common7/ide/usertype.dat to have them highlighted typedef unsigned char uint8; @@ -70,7 +74,7 @@ typedef unsigned int uint32; typedef signed int int32; typedef unsigned long long uint64; typedef signed long long int64; -#ifdef __x86_64__ +#ifdef _M_AMD64 typedef uint64 uptr; #else typedef uint32 uptr; @@ -210,10 +214,6 @@ using namespace std; #define ASSERT assert -#ifdef __x86_64__ - #define _M_AMD64 -#endif - #ifdef _M_AMD64 // Yeah let use mips naming ;) #ifdef _WIN64