From 20a44fbef37caf1a6401b99227e2865838fdd48d Mon Sep 17 00:00:00 2001 From: Raphael Date: Thu, 29 Jan 2026 14:27:11 +0100 Subject: [PATCH] feat(gnl/bonus): adding open_max define --- get_next_line_bonus.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/get_next_line_bonus.h b/get_next_line_bonus.h index 0bbdc56..a149471 100644 --- a/get_next_line_bonus.h +++ b/get_next_line_bonus.h @@ -6,16 +6,21 @@ /* By: rparodi +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/11/18 17:12:04 by rparodi #+# #+# */ -/* Updated: 2025/12/21 00:11:00 by rparodi ### ########.fr */ +/* Updated: 2026/01/29 14:24:48 by rparodi ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef GET_NEXT_LINE_BONUS_H # define GET_NEXT_LINE_BONUS_H + # ifndef BUFFER_SIZE # define BUFFER_SIZE 420 # endif +# ifndef OPEN_MAX +# define OPEN_MAX 1024 +# endif + # include # include