mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
Fix build on a musl libc Linux.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user