From ecb2bccbb56785b5631c54ee7df04887e1022ec7 Mon Sep 17 00:00:00 2001 From: mahautlatinis Date: Thu, 12 Sep 2024 14:18:27 +0200 Subject: [PATCH] edit open max conf --- get_next_line/include/get_next_line.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/get_next_line/include/get_next_line.h b/get_next_line/include/get_next_line.h index 3c646c7..dd05e2b 100644 --- a/get_next_line/include/get_next_line.h +++ b/get_next_line/include/get_next_line.h @@ -17,10 +17,8 @@ # 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. */ +# ifdef OPEN_MAX +# define OPEN_MAX 256. # endif # include