13 lines
356 B
Diff
13 lines
356 B
Diff
|
--- 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"
|