mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 15:19:42 -06:00
windows: move arch defines to base.props
This commit is contained in:
@ -101,20 +101,6 @@ private:
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Architecture detection for Windows
|
|
||||||
// Architecture detection is done in cmake on all other platforms
|
|
||||||
// Windows is built on only x86/x86_64
|
|
||||||
#if _WIN32 || _WIN64
|
|
||||||
#define _M_X86 1
|
|
||||||
#if _WIN64
|
|
||||||
#define _ARCH_64 1
|
|
||||||
#define _M_X86_64 1
|
|
||||||
#else
|
|
||||||
#define _ARCH_32 1
|
|
||||||
#define _M_X86_32 1
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Windows compatibility
|
// Windows compatibility
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
@ -57,7 +57,9 @@
|
|||||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||||
<MinimalRebuild>false</MinimalRebuild>
|
<MinimalRebuild>false</MinimalRebuild>
|
||||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||||
<AdditionalOptions>/d2Zi+ /volatile:iso /D PSAPI_VERSION=1 %(AdditionalOptions)</AdditionalOptions>
|
<AdditionalOptions>/d2Zi+ /volatile:iso /D PSAPI_VERSION=1 /D _M_X86=1 %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<AdditionalOptions Condition="'$(Platform)'=='Win32'">/D _ARCH_32=1 /D _M_X86_32=1 %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<AdditionalOptions Condition="'$(Platform)'=='x64'">/D _ARCH_64=1 /D _M_X86_64=1 %(AdditionalOptions)</AdditionalOptions>
|
||||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
<!--
|
<!--
|
||||||
This is for GetVersionEx being marked as depreciated - which is idiotic and there's
|
This is for GetVersionEx being marked as depreciated - which is idiotic and there's
|
||||||
|
Reference in New Issue
Block a user