From ae1412fdc283e442a0869aa7d63778449a7e5cfe Mon Sep 17 00:00:00 2001 From: Charles Date: Thu, 16 Jan 2020 00:51:22 +0100 Subject: Features toggle to avoid bloat and unauthorized functions, config file, script to generate a rendu branch --- include/libft.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'include/libft.h') diff --git a/include/libft.h b/include/libft.h index a7f86af..c2215ed 100644 --- a/include/libft.h +++ b/include/libft.h @@ -18,11 +18,16 @@ # include # include # include + # include + + # include "get_next_line.h" -# define TRUE 1 -# define FALSE 0 +# ifdef __linux__ +# include +# define OPEN_MAX FOPEN_MAX +# endif # define MIN(x, y) ((x) < (y) ? (x) : (y)) # define MAX(x, y) ((x) > (y) ? (x) : (y)) @@ -157,5 +162,4 @@ char *ft_itoa(int n); int ft_strict_atoi(const char *s); long ft_strtol(const char *s, char **endptr, int base); - #endif -- cgit