Skip to content

Commit

Permalink
[libc] added _POSIX_ARG_MAX in limits.h (#124954)
Browse files Browse the repository at this point in the history
Fixes: #124947
  • Loading branch information
alexprabhat99 authored Jan 30, 2025
1 parent 20fd7df commit 9b52dbe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libc/include/llvm-libc-macros/limits-macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -235,4 +235,8 @@
#define _POSIX_PATH_MAX 256
#endif

#ifndef _POSIX_ARG_MAX
#define _POSIX_ARG_MAX 4096
#endif

#endif // LLVM_LIBC_MACROS_LIMITS_MACROS_H

0 comments on commit 9b52dbe

Please sign in to comment.