Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
add deprecated OPEN_MAX
Browse files Browse the repository at this point in the history
  • Loading branch information
mahautlatinis committed Sep 12, 2024
1 parent ecb5414 commit 6ba55f6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions get_next_line/include/get_next_line.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
# define DONE 0
# define BUFFER_SIZE 10

# ifdef __GNU__
# define PATH_MAX 4096
# define MAXPATHLEN 4096
# define OPEN_MAX 256 /* We define a reasonable limit. */
# endif

# include <stdlib.h>
# include <limits.h>
# include <unistd.h>
Expand Down

0 comments on commit 6ba55f6

Please sign in to comment.