mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-14 18:46:34 +01:00
Revert commit 635578b3 relating to pthread debugging
This breaks the build for windows builds that don't use the pthreads_win32 library. Using the opaque pthread_t type like this is probably not a great idea. Using PBD::pthread_name is another option that I've used elsewhere that seems more useful.
This commit is contained in:
parent
0f8da2d4cd
commit
831f2989ac
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ namespace PBD {
|
|||
#define DEBUG_STR(id) __debug_str ## id
|
||||
#define DEBUG_STR_APPEND(id,s) __debug_str ## id << s;
|
||||
#define DEBUG_ENABLED(bits) ((bits) & PBD::debug_bits)
|
||||
#ifdef PLATFORM_WINDOWS
|
||||
#ifdef PTW32_VERSION
|
||||
#define DEBUG_THREAD_SELF pthread_self().p
|
||||
#else
|
||||
#define DEBUG_THREAD_SELF pthread_self()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue