void-packages/srcpkgs/mame/patches/musl-thread_setname_np.patch
Jürgen Buchmüller a1e4f46d0c mame: update to 0.166
Use system packages where possible.
TODO: use system lua-5.3.x once it is available
2015-09-30 16:11:04 +02:00

11 lines
472 B
Diff

--- 3rdparty/bx/include/bx/thread.h 2015-09-30 14:03:06.501362188 +0200
+++ 3rdparty/bx/include/bx/thread.h 2015-09-30 14:07:06.685343449 +0200
@@ -149,7 +149,7 @@
{
#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)