lualanes: Update to 3.13.0

Switched to codeload for a simpler Makefile.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2018-12-13 17:17:01 -08:00
parent 41457bdc46
commit 643f09e83f
3 changed files with 20 additions and 13 deletions
+1 -3
View File
@@ -1,8 +1,6 @@
diff --git a/src/threading.h b/src/threading.h
index bfa9ab8..7b3d6a1 100644
--- a/src/threading.h
+++ b/src/threading.h
@@ -128,7 +128,7 @@ enum e_status { PENDING, RUNNING, WAITING, DONE, ERROR_ST, CANCELLED };
@@ -110,7 +110,7 @@ enum e_status { PENDING, RUNNING, WAITING, DONE, ERROR_ST, CANCELLED };
#endif // PLATFORM_WIN32
#include <pthread.h>
@@ -0,0 +1,12 @@
--- a/src/threading.c
+++ b/src/threading.c
@@ -35,7 +35,9 @@ THE SOFTWARE.
===============================================================================
*/
#if defined(__linux__)
+#ifndef _GNU_SOURCE
# define _GNU_SOURCE /* must be defined before any include */
+#endif
# ifdef __ANDROID__
# include <android/log.h>
# define LOG_TAG "LuaLanes"