From 8387de09e22f5bce30c05e1cc2d78bf80ee34229 Mon Sep 17 00:00:00 2001 From: Jonathan Li Date: Wed, 13 Jul 2016 21:55:18 +0100 Subject: [PATCH] pcsx2: Use _M_X86_64 for Baseblock static_assert ifdef Fixes a 64-bit compilation issue. --- pcsx2/x86/BaseblockEx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/x86/BaseblockEx.h b/pcsx2/x86/BaseblockEx.h index 44c29a55fb..62e3593ce1 100644 --- a/pcsx2/x86/BaseblockEx.h +++ b/pcsx2/x86/BaseblockEx.h @@ -242,7 +242,7 @@ static void recLUT_SetPage(uptr reclut[0x10000], uptr hwlut[0x10000], hwlut[page] = 0u - (pagebase << 16); } -#ifdef __x86_64__ +#if defined(_M_X86_64) static_assert( sizeof(BASEBLOCK) == 8, "BASEBLOCK is not 8 bytes" ); #else static_assert( sizeof(BASEBLOCK) == 4, "BASEBLOCK is not 4 bytes" );