mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
bx: use pthread_setname_np(3) only with __GLIBC__
This commit is contained in:
parent
7ac63b89ec
commit
fee651e0dd
1 changed files with 1 additions and 1 deletions
2
3rdparty/bx/include/bx/thread.h
vendored
2
3rdparty/bx/include/bx/thread.h
vendored
|
@ -149,7 +149,7 @@ namespace bx
|
|||
{
|
||||
#if BX_PLATFORM_OSX || BX_PLATFORM_IOS
|
||||
pthread_setname_np(_name);
|
||||
#elif BX_PLATFORM_LINUX || BX_PLATFORM_FREEBSD
|
||||
#elif (BX_PLATFORM_LINUX && defined(__GLIBC__)) || BX_PLATFORM_FREEBSD
|
||||
pthread_setname_np(m_handle, _name);
|
||||
#elif BX_PLATFORM_WINDOWS && BX_COMPILER_MSVC
|
||||
# pragma pack(push, 8)
|
||||
|
|
Loading…
Reference in a new issue