mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 11:46:25 +01:00
When building 'libs/pbd/cpus.cc' (with MSVC) make sure we know what 'PTW32_VERSION' is
This commit is contained in:
parent
2d04ac9796
commit
50ab3db0ca
1 changed files with 4 additions and 0 deletions
|
|
@ -32,6 +32,10 @@
|
|||
|
||||
#include "pbd/cpus.h"
|
||||
|
||||
#if defined(COMPILER_MSVC) && !defined(PTW32_VERSION)
|
||||
#include <ardourext/pthread.h> // Gets us 'PTW32_VERSION'
|
||||
#endif
|
||||
|
||||
uint32_t
|
||||
hardware_concurrency()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue