diff --git a/libs/pbd/cpus.cc b/libs/pbd/cpus.cc index d43591ce30..b55e1f4874 100644 --- a/libs/pbd/cpus.cc +++ b/libs/pbd/cpus.cc @@ -36,7 +36,11 @@ #include "pbd/cpus.h" #if defined(COMPILER_MSVC) && !defined(PTW32_VERSION) +#ifndef OTHER1 #include // Gets us 'PTW32_VERSION' +#else +#include //Gets us '__PTW32_VERSION' +#endif #endif int32_t @@ -69,7 +73,7 @@ PBD::hardware_concurrency() return c; } } -#if defined(PTW32_VERSION) || defined(__hpux) +#if defined(PTW32_VERSION) || defined(__hpux) || defined(__PTW32_VERSION) return pthread_num_processors_np(); #elif defined(__APPLE__) int count;