pkarashchenko commented on a change in pull request #5924: URL: https://github.com/apache/incubator-nuttx/pull/5924#discussion_r840247674
########## File path: include/limits.h ########## @@ -203,7 +203,7 @@ #define NAME_MAX _POSIX_NAME_MAX #define TTY_NAME_MAX _POSIX_NAME_MAX #define NGROUPS_MAX _POSIX_NGROUPS_MAX -#define OPEN_MAX _POSIX_OPEN_MAX +#define OPEN_MAX CONFIG_OPEN_MAX Review comment: ```suggestion #if CONFIG_OPEN_MAX < _POSIX_OPEN_MAX # define OPEN_MAX _POSIX_OPEN_MAX #else # define OPEN_MAX CONFIG_OPEN_MAX #endif ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org