diff options
author | John Emmas <johne53@tiscali.co.uk> | 2015-04-30 17:44:28 +0100 |
---|---|---|
committer | John Emmas <johne53@tiscali.co.uk> | 2015-04-30 18:17:23 +0100 |
commit | fe3aafec1c02e67d27536564581b6c8f5101b229 (patch) | |
tree | 289af506f8599fbf59673e587007595e18a5ba2f /libs/pbd | |
parent | 9b385571e7ce6ae188042ba6b9ebdc1b3bef382f (diff) |
When testing for x86 / x64 architecture, don't forget the symbols that MSVC can understand
Diffstat (limited to 'libs/pbd')
-rw-r--r-- | libs/pbd/fpu.cc | 2 | ||||
-rw-r--r-- | libs/pbd/malign.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libs/pbd/fpu.cc b/libs/pbd/fpu.cc index 76de065d28..92c6d3e41a 100644 --- a/libs/pbd/fpu.cc +++ b/libs/pbd/fpu.cc @@ -43,7 +43,7 @@ FPU::FPU () _flags = Flags (0); -#if !( (defined __x86_64__) || (defined __i386__) ) // !ARCH_X86 +#if !( (defined __x86_64__) || (defined __i386__) || (defined _M_X64) || (defined _M_IX86) ) // !ARCH_X86 return; #else diff --git a/libs/pbd/malign.cc b/libs/pbd/malign.cc index 978ca00451..a11a23f35f 100644 --- a/libs/pbd/malign.cc +++ b/libs/pbd/malign.cc @@ -29,7 +29,7 @@ using namespace PBD; -#ifdef __x86_64__ +#if ( defined(__x86_64__) || defined(_M_X64) ) static const int CPU_CACHE_ALIGN = 64; #else static const int CPU_CACHE_ALIGN = 16; /* arguably 32 on most arches, but it matters less */ |