mame: unbreak musl

This commit is contained in:
Jürgen Buchmüller 2016-02-24 09:21:05 +01:00
parent 7c523d774c
commit 480cd3a6e7

View file

@ -0,0 +1,11 @@
--- 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);