From 6b1ee680a20e22f22d3336e1338cc37a102cf25c Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Fri, 11 Jul 2014 17:13:07 -0500 Subject: [PATCH] Support _ARCH_32/64 _M_X86[_32/_64] defines on Windows This defines the correct define depending on architecture build target. Currently Windows doesn't support a x86_64 build target, but once it does the define will be in place. --- pcsx2/windows/VCprojects/vsprops/common.props | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pcsx2/windows/VCprojects/vsprops/common.props b/pcsx2/windows/VCprojects/vsprops/common.props index 4441ef7cd7..c381047722 100644 --- a/pcsx2/windows/VCprojects/vsprops/common.props +++ b/pcsx2/windows/VCprojects/vsprops/common.props @@ -13,11 +13,13 @@ ./;../../;../../x86;../../x86/ix86-32;../../IPU;../../System;%(AdditionalIncludeDirectories) - __i386__;TIXML_USE_STL;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + _M_X86;__i386__;TIXML_USE_STL;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) false $(IntDir)pcsx2.pch Default true + _ARCH_64=1;_M_X86_64;%(PreprocessorDefinitions) + _ARCH_32=1;_M_X86_32;%(PreprocessorDefinitions) odbc32.lib;odbccp32.lib;comctl32.lib;ws2_32.lib;shlwapi.lib;winmm.lib;%(AdditionalDependencies) @@ -44,4 +46,4 @@ $(PcsxSubsection) - \ No newline at end of file +