void-packages/srcpkgs/mame/patches/0001-musl-fix.patch

12 lines
542 B
Diff
Raw Normal View History

2016-02-24 09:21:05 +01:00
--- 3rdparty/bx/include/bx/thread.h 2016-02-24 08:02:17.000000000 +0100
+++ 3rdparty/bx/include/bx/thread.h 2016-02-24 09:19:51.997080688 +0100
@@ -153,7 +153,7 @@
#if BX_PLATFORM_OSX || BX_PLATFORM_IOS
pthread_setname_np(_name);
#elif BX_PLATFORM_LINUX
-# if defined(__GLIBC__) && (__GLIBC__ > 2) || ( (__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 12) )
+# if defined(__GLIBC__) && ( (__GLIBC__ > 2) || ( (__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 12) ) )
pthread_setname_np(m_handle, _name);
# else
prctl(PR_SET_NAME,_name, 0, 0, 0);