From 50ab3db0ca54a850ee77f4622e4a83c01bc3a9c1 Mon Sep 17 00:00:00 2001 From: John Emmas Date: Wed, 8 Oct 2014 15:00:51 +0100 Subject: [PATCH] When building 'libs/pbd/cpus.cc' (with MSVC) make sure we know what 'PTW32_VERSION' is --- libs/pbd/cpus.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/pbd/cpus.cc b/libs/pbd/cpus.cc index 48b919cd96..0f73d51027 100644 --- a/libs/pbd/cpus.cc +++ b/libs/pbd/cpus.cc @@ -32,6 +32,10 @@ #include "pbd/cpus.h" +#if defined(COMPILER_MSVC) && !defined(PTW32_VERSION) +#include // Gets us 'PTW32_VERSION' +#endif + uint32_t hardware_concurrency() {