mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-02-05 21:21:38 +00:00
cpukit/posix/aio: Override AIO_LISTIO_MAX from newlib
Newer versions of newlib do not define AIO_LISTIO_MAX, so override this value for the RTEMS implementation. Closes #5227
This commit is contained in:
committed by
Joel Sherrill
parent
ac41d58472
commit
4d38bf6ec0
@@ -212,9 +212,9 @@ extern rtems_aio_queue aio_request_queue;
|
||||
#define AIO_MAX_THREADS 5
|
||||
#endif
|
||||
|
||||
#ifndef AIO_LISTIO_MAX
|
||||
/* Override AIO_LISTIO_MAX from newlib */
|
||||
#undef AIO_LISTIO_MAX
|
||||
#define AIO_LISTIO_MAX 20
|
||||
#endif
|
||||
|
||||
#ifndef RTEMS_AIO_MAX
|
||||
#define RTEMS_AIO_MAX 100
|
||||
|
||||
Reference in New Issue
Block a user