When testing for x86 / x64 architecture, don't forget the symbols that MSVC can understand
This commit is contained in:
parent
9b385571e7
commit
fe3aafec1c
@ -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");
|
||||
|
@ -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
|
||||
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user