mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 10:58:49 +08:00
limits.h: modify _POSIX_OPEN_MAX to 16
fix ltp/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/speculative/26-1.c:46:8: error: size of array 'queue' is negative mqd_t queue[_POSIX_OPEN_MAX + _POSIX_MQ_OPEN_MAX + 1]; Change-Id: I1185ea9f84752aaa0150689b5801d01c3f52c598 Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
parent
6657d151ca
commit
0c068ed4e3
1 changed files with 2 additions and 2 deletions
|
@ -120,10 +120,10 @@
|
|||
#define _POSIX_MAX_INPUT 255
|
||||
#define _POSIX_NAME_MAX CONFIG_NAME_MAX
|
||||
#define _POSIX_NGROUPS_MAX 0
|
||||
#define _POSIX_OPEN_MAX INT_MAX
|
||||
#define _POSIX_OPEN_MAX 16
|
||||
#define _POSIX_PATH_MAX CONFIG_PATH_MAX
|
||||
#define _POSIX_PIPE_BUF 512
|
||||
#define _POSIX_STREAM_MAX INT_MAX
|
||||
#define _POSIX_STREAM_MAX 16
|
||||
#define _POSIX_TZNAME_MAX 3
|
||||
|
||||
#ifdef CONFIG_SMALL_MEMORY
|
||||
|
|
Loading…
Reference in a new issue