mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-21 14:16:31 +01:00
Use compiler provided PTW_VERSION define for compatibility
This commit is contained in:
parent
b938daca95
commit
728558e51c
9 changed files with 20 additions and 20 deletions
|
|
@ -237,7 +237,7 @@ pthread_set_name (const char* str)
|
|||
/* copy string and delete it when exiting */
|
||||
thread_name.set (strdup (str)); // leaks
|
||||
|
||||
#if !defined PTW32_VERSION && defined _GNU_SOURCE
|
||||
#if !defined __PTW32_VERSION && defined _GNU_SOURCE
|
||||
/* set public thread name, up to 16 chars */
|
||||
char ptn[16];
|
||||
memset (ptn, 0, 16);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue