mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 23:11:14 +01:00
windows: move arch defines to base.props
This commit is contained in:
parent
e5b250fa79
commit
8995d299f2
@ -101,20 +101,6 @@ private:
|
||||
|
||||
#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
|
||||
#ifndef _WIN32
|
||||
#include <limits.h>
|
||||
|
@ -57,7 +57,9 @@
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<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>
|
||||
<!--
|
||||
This is for GetVersionEx being marked as depreciated - which is idiotic and there's
|
||||
|
Loading…
x
Reference in New Issue
Block a user