diff --git a/cmake/BuildParameters.cmake b/cmake/BuildParameters.cmake index e411fe9b0..3c098bb78 100644 --- a/cmake/BuildParameters.cmake +++ b/cmake/BuildParameters.cmake @@ -162,10 +162,9 @@ if(${PCSX2_TARGET_ARCHITECTURES} MATCHES "x86_64") set(ARCH_FLAG "-march=native") endif() endif() - list(APPEND PCSX2_DEFS _ARCH_64=1 _M_X86=1 _M_X86_64=1 __M_X86_64=1) + list(APPEND PCSX2_DEFS _ARCH_64=1 _M_X86=1) set(_ARCH_64 1) set(_M_X86 1) - set(_M_X86_64 1) else() # All but i386 requires -fPIC set(CMAKE_POSITION_INDEPENDENT_CODE ON) diff --git a/common/common.vcxproj b/common/common.vcxproj index ee2b5c2cf..db05a29f9 100644 --- a/common/common.vcxproj +++ b/common/common.vcxproj @@ -110,11 +110,7 @@ - - Document - _M_X86_32;%(PreprocessorDefinitions) - _M_X86_64;%(PreprocessorDefinitions) - + diff --git a/common/vsprops/CommonLibrary.props b/common/vsprops/CommonLibrary.props index ac921a623..8aa3b8bf6 100644 --- a/common/vsprops/CommonLibrary.props +++ b/common/vsprops/CommonLibrary.props @@ -9,8 +9,7 @@ $(SolutionDir);$(SolutionDir)\3rdparty\wxwidgets3.0\include;$(SolutionDir)\3rdparty;%(AdditionalIncludeDirectories) __WIN32__;WIN32;_WINDOWS;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) - _ARCH_64=1;_M_X86_64;__M_X86_64;%(PreprocessorDefinitions) - _ARCH_32=1;_M_X86_32;%(PreprocessorDefinitions) + _ARCH_64=1;%(PreprocessorDefinitions) 16Bytes true false diff --git a/common/vsprops/common.props b/common/vsprops/common.props index 69f3ed726..59775bfcf 100644 --- a/common/vsprops/common.props +++ b/common/vsprops/common.props @@ -26,8 +26,7 @@ $(IntDir)pcsx2.pch Default true - _ARCH_64=1;_M_X86_64;__M_X86_64;%(PreprocessorDefinitions) - _ARCH_32=1;_M_X86_32;%(PreprocessorDefinitions) + _ARCH_64=1;%(PreprocessorDefinitions) setupapi.lib;comctl32.lib;ws2_32.lib;shlwapi.lib;winmm.lib;rpcrt4.lib;%(AdditionalDependencies)