summaryrefslogtreecommitdiff
path: root/libs/pbd/malign.cc
diff options
context:
space:
mode:
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 */