diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2014-03-02 05:21:50 -0600 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2014-03-04 09:36:59 -0600 |
| commit | 4f02132f9323a147c68b7dc1a79a62be33c1f170 (patch) | |
| tree | 3941a217046e39148768a1c7eb1aff0289251d4b /Source/Core/Common/Version.cpp | |
| parent | d1ccd964cd7c552068c1ed649235eac83e3b1195 (diff) | |
Make our architecture defines less stupid.
Our defines were never clear between what meant 64bit or x86_64
This makes a clear cut between bitness and architecture.
This commit also has the side effect of bringing up aarch64 compiling support.
Diffstat (limited to 'Source/Core/Common/Version.cpp')
| -rw-r--r-- | Source/Core/Common/Version.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Source/Core/Common/Version.cpp b/Source/Core/Common/Version.cpp index 1223bf373d..0e282ad7e8 100644 --- a/Source/Core/Common/Version.cpp +++ b/Source/Core/Common/Version.cpp @@ -24,14 +24,16 @@ const char *scm_rev_str = "Dolphin " BUILD_TYPE_STR SCM_DESC_STR; #endif -#ifdef _M_X64 +#if _M_X86_64 #define NP_ARCH "x64" -#else -#ifdef _M_ARM -#define NP_ARCH "ARM" -#else +#elif _M_ARM_32 +#define NP_ARCH "ARM32" +#elif _M_ARM_64 +#define NP_ARCH "ARM64" +#elif _M_X86_32 #define NP_ARCH "x86" -#endif +#else +#define NP_ARCH "Unk" #endif #ifdef _WIN32 |
