aboutsummaryrefslogtreecommitdiff
path: root/recipes/lua/lua-lanes-2.0.6/uclibc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/lua/lua-lanes-2.0.6/uclibc.patch')
-rw-r--r--recipes/lua/lua-lanes-2.0.6/uclibc.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/lua/lua-lanes-2.0.6/uclibc.patch b/recipes/lua/lua-lanes-2.0.6/uclibc.patch
new file mode 100644
index 0000000..b3d1f83
--- /dev/null
+++ b/recipes/lua/lua-lanes-2.0.6/uclibc.patch
@@ -0,0 +1,13 @@
+Index: lanes-2.0.6/src/threading.h
+===================================================================
+--- lanes-2.0.6.orig/src/threading.h 2010-10-10 09:35:20.000000000 +0200
++++ lanes-2.0.6/src/threading.h 2010-10-10 09:35:32.000000000 +0200
+@@ -112,7 +112,7 @@
+ #ifdef PLATFORM_OSX
+ #define YIELD() pthread_yield_np()
+ #else
+- #define YIELD() pthread_yield()
++ #define YIELD() sched_yield()
+ #endif
+ #endif
+