Fix windows builds (stacktrace pthread debug)

This commit is contained in:
Robin Gareus 2021-07-14 16:04:07 +02:00
parent 46251c2068
commit c92dfed706
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
2 changed files with 9 additions and 7 deletions

View file

@ -30,8 +30,11 @@
#include "pbd/libpbd_visibility.h"
#include "pbd/timing.h"
#if defined(COMPILER_MSVC) && !defined(PTW32_VERSION)
#include <ardourext/pthread.h> // Gets us 'PTW32_VERSION'
/* check for PTW32_VERSION */
#ifdef COMPILER_MSVC
#include <ardourext/pthread.h>
#else
#include <pthread.h>
#endif
namespace PBD {