1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-15 11:22:14 +03:00
openwrt-xburst/toolchain/uClibc/patches/220-libpthread_arm.patch
nbd 82bf9db5f0 uclibc: fix the new libpthread implementation on arm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14074 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-17 19:21:56 +00:00

28 lines
1.1 KiB
Diff

--- /dev/null
+++ b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
@@ -0,0 +1,24 @@
+/* Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+ Contributed by Guido Guenther <agx@sigxcpu.org>, 2003.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, write to the Free
+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307 USA. */
+
+#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
+
+# define SINGLE_THREAD_P (1)
+
+#endif