[newlib-cygwin/main] RTEMS: Increase FS_SETSIZE to 256 bits

Joel Sherrill joel@sourceware.org
Wed Mar 13 13:59:34 GMT 2024


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=8d38c37ed9356e8f26e803fcf28e7592799c870a

commit 8d38c37ed9356e8f26e803fcf28e7592799c870a
Author: Chris Johns <chrisj@rtems.org>
Date:   Tue Feb 20 11:46:05 2024 +1100

    RTEMS: Increase FS_SETSIZE to 256 bits

Diff:
---
 newlib/libc/include/sys/select.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/newlib/libc/include/sys/select.h b/newlib/libc/include/sys/select.h
index 93d0b79bf..8b5675640 100644
--- a/newlib/libc/include/sys/select.h
+++ b/newlib/libc/include/sys/select.h
@@ -30,6 +30,8 @@ typedef	__sigset_t	sigset_t;
 #ifndef FD_SETSIZE
 # ifdef __CYGWIN__
 #  define FD_SETSIZE	1024
+# elifdef __rtems__
+#  define FD_SETSIZE	256
 # else
 #  define FD_SETSIZE	64
 # endif


More information about the Newlib-cvs mailing list