Преглед на файлове

Two other absolutely safe change that will be used by NPTL, aimed
to simplify merge.

Carmelo Amoroso преди 15 години
родител
ревизия
d1fc67df4b
променени са 2 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 1 1
      libc/sysdeps/linux/common/bits/uClibc_local_lim.h
  2. 1 0
      libc/sysdeps/linux/common/bits/uio.h

+ 1 - 1
libc/sysdeps/linux/common/bits/uClibc_local_lim.h

@@ -16,7 +16,7 @@
 #endif
 #endif
 
 
 /* This should really be moved to thread specific directories */
 /* This should really be moved to thread specific directories */
-#if defined __UCLIBC_HAS_THREADS__
+#if defined __UCLIBC_HAS_THREADS__ && !defined __UCLIBC_HAS_THREADS_NATIVE__
 # define PTHREAD_THREADS_MAX	1024
 # define PTHREAD_THREADS_MAX	1024
 # define TIMER_MAX		256
 # define TIMER_MAX		256
 #endif
 #endif

+ 1 - 0
libc/sysdeps/linux/common/bits/uio.h

@@ -38,6 +38,7 @@
    functionality even if the currently running kernel does not support
    functionality even if the currently running kernel does not support
    this large value the readv/writev call will not fail because of this.  */
    this large value the readv/writev call will not fail because of this.  */
 #define UIO_MAXIOV	1024
 #define UIO_MAXIOV	1024
+#define UIO_FASTIOV    8
 
 
 
 
 /* Structure for scatter/gather I/O.  */
 /* Structure for scatter/gather I/O.  */