summaryrefslogtreecommitdiff
path: root/libs/pbd/malign.cc
diff options
context:
space:
mode:
authorJohn Emmas <johne53@tiscali.co.uk>2015-04-30 17:44:28 +0100
committerJohn Emmas <johne53@tiscali.co.uk>2015-04-30 18:17:23 +0100
commitfe3aafec1c02e67d27536564581b6c8f5101b229 (patch)
tree289af506f8599fbf59673e587007595e18a5ba2f /libs/pbd/malign.cc
parent9b385571e7ce6ae188042ba6b9ebdc1b3bef382f (diff)
When testing for x86 / x64 architecture, don't forget the symbols that MSVC can understand
Diffstat (limited to 'libs/pbd/malign.cc')
-rw-r--r--libs/pbd/malign.cc2
1 files changed, 1 insertions, 1 deletions
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 */