13
0

When testing for x86 / x64 architecture, don't forget the symbols that MSVC can understand

This commit is contained in:
John Emmas 2015-04-30 17:44:28 +01:00
parent 9b385571e7
commit fe3aafec1c
3 changed files with 3 additions and 3 deletions

View File

@ -110,7 +110,7 @@ static void init_weak_jack(void)
lib = lib_open("/usr/local/lib/libjack.dylib");
}
#elif (defined PLATFORM_WINDOWS)
# ifdef __x86_64__
# if ( defined(__x86_64__) || defined(_M_X64) )
lib = lib_open("libjack64.dll");
# else
lib = lib_open("libjack.dll");

View File

@ -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

View File

@ -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 */