From 4d38bf6ec039efc0b522ba8e4da7539367f5ff7c Mon Sep 17 00:00:00 2001 From: Kinsey Moore Date: Fri, 26 Dec 2025 12:22:39 -0600 Subject: [PATCH] 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 --- cpukit/include/rtems/posix/aio_misc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpukit/include/rtems/posix/aio_misc.h b/cpukit/include/rtems/posix/aio_misc.h index 9cde600d58..deebd8d9f1 100644 --- a/cpukit/include/rtems/posix/aio_misc.h +++ b/cpukit/include/rtems/posix/aio_misc.h @@ -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