packages/lang/lualanes/patches/100-musl-compat.patch
Rosen Penev ed15856aef lualanes: build with CMake
Faster to compile.

Add license information.

Several cleanups for consistency between packages.

Small patch fix now that uClibc-ng is gone.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-04-06 15:22:08 -07:00

11 lines
323 B
Diff

--- a/src/threading.h
+++ b/src/threading.h
@@ -110,7 +110,7 @@ enum e_status { PENDING, RUNNING, WAITIN
#endif // PLATFORM_WIN32
#include <pthread.h>
- #ifdef PLATFORM_LINUX
+ #if defined(PLATFORM_LINUX) && defined(__GLIBC__)
# define _MUTEX_RECURSIVE PTHREAD_MUTEX_RECURSIVE_NP
#else
/* OS X, ... */