From fe3aafec1c02e67d27536564581b6c8f5101b229 Mon Sep 17 00:00:00 2001 From: John Emmas Date: Thu, 30 Apr 2015 17:44:28 +0100 Subject: When testing for x86 / x64 architecture, don't forget the symbols that MSVC can understand --- libs/pbd/malign.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/pbd/malign.cc') 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 */ -- cgit v1.2.3