[massive] add support for alternative C libraries (currently only glibc/eglibc)
[openwrt-10.03/.git] / toolchain / eglibc / patches / 2.7 / 103-arm_nptl_cargs6.patch
1 diff -ruN eglibc-2.7-orig/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h eglibc-2.7/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h
2 --- eglibc-2.7-orig/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h      2007-06-06 19:48:04.000000000 +0200
3 +++ eglibc-2.7/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h   2008-11-04 16:48:29.000000000 +0100
4 @@ -73,6 +73,9 @@
5  # define DOCARGS_5     DOCARGS_4
6  # define UNDOCARGS_5   UNDOCARGS_4
7  
8 +# define DOCARGS_6    DOCARGS_5
9 +# define UNDOCARGS_6  UNDOCARGS_5
10 +
11  # ifdef IS_IN_libpthread
12  #  define CENABLE      bl PLTJMP(__pthread_enable_asynccancel)
13  #  define CDISABLE     bl PLTJMP(__pthread_disable_asynccancel)