mame: really unbreak musl

This commit is contained in:
Jürgen Buchmüller 2016-02-24 09:40:55 +01:00
parent 480cd3a6e7
commit b0a5d78cc7
1 changed files with 13 additions and 2 deletions

View File

@ -1,6 +1,17 @@
--- 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 @@
+++ 3rdparty/bx/include/bx/thread.h 2016-02-24 09:31:36.413131472 +0100
@@ -10,7 +10,9 @@
# include <pthread.h>
# if defined(__GLIBC__) && !( (__GLIBC__ > 2) || ( (__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 12) ) )
# include <sys/prctl.h>
-# endif // defined(__GLIBC__) ...
+# elif !defined(__GLIBC__)
+# include <sys/prctl.h>
+# endif // !defined(__GLIBC__) ...
#elif BX_PLATFORM_WINRT
using namespace Platform;
using namespace Windows::Foundation;
@@ -153,7 +155,7 @@
#if BX_PLATFORM_OSX || BX_PLATFORM_IOS
pthread_setname_np(_name);
#elif BX_PLATFORM_LINUX