Skip to content

Commit

Permalink
Test: include OPEN_MAX on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
GogoVega committed May 20, 2024
1 parent efd9dcb commit 6b1e8d1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion include/libft_file.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* By: gdandele <gdandele@student.s19.be> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/01 14:45:24 by gdandele #+# #+# */
/* Updated: 2024/05/01 14:55:56 by gdandele ### ########.fr */
/* Updated: 2024/05/20 13:24:47 by gdandele ### ########.fr */
/* */
/* ************************************************************************** */

Expand All @@ -17,10 +17,16 @@
# include <unistd.h>
# include <limits.h>

# include <sys/syslimits.h>

# ifndef BUFFER_SIZE
# define BUFFER_SIZE 42
# endif

# ifndef OPEN_MAX
# define OPEN_MAX 10240
# endif

/**
* @brief Allocates and gets the next line from a file descriptor.
*
Expand Down

0 comments on commit 6b1e8d1

Please sign in to comment.