director_thread test fixes for MacOS
Add extra debugging and correctly detect MacOS using __APPLE__ macro
This commit is contained in:
parent
1faf5a879f
commit
5a388863fa
2 changed files with 7 additions and 7 deletions
|
|
@ -31,7 +31,7 @@ SWIGINTERN int Swig::GetThreadName(char *name, size_t len) {
|
|||
#endif
|
||||
}
|
||||
|
||||
#elif defined(__unix__)
|
||||
#elif defined(__unix__) || defined(__APPLE__)
|
||||
|
||||
#include <pthread.h>
|
||||
SWIGINTERN int Swig::GetThreadName(char *name, size_t len) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue