Skip to content

Commit 9b52dbe

Browse files
[libc] added _POSIX_ARG_MAX in limits.h (#124954)
Fixes: #124947
1 parent 20fd7df commit 9b52dbe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libc/include/llvm-libc-macros/limits-macros.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,4 +235,8 @@
235235
#define _POSIX_PATH_MAX 256
236236
#endif
237237

238+
#ifndef _POSIX_ARG_MAX
239+
#define _POSIX_ARG_MAX 4096
240+
#endif
241+
238242
#endif // LLVM_LIBC_MACROS_LIMITS_MACROS_H

0 commit comments

Comments
 (0)