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:
Kinsey Moore
2025-12-26 12:22:39 -06:00
committed by Joel Sherrill
parent ac41d58472
commit 4d38bf6ec0

View File

@@ -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