diff --git a/get_next_line.h b/get_next_line.h index 7b88703..b440a74 100644 --- a/get_next_line.h +++ b/get_next_line.h @@ -6,7 +6,7 @@ /* By: cchauvet # include -# define BUFFER_SIZE 42 +# ifndef BUFFER_SIZE +# define BUFFER_SIZE 42 +# endif void *ft_calloc(size_t nmemb, size_t size); void *ft_realloc(void *ptr, size_t size); diff --git a/get_next_line_bonus.h b/get_next_line_bonus.h index 69d5549..3507192 100644 --- a/get_next_line_bonus.h +++ b/get_next_line_bonus.h @@ -6,7 +6,7 @@ /* By: cchauvet # include -# define BUFFER_SIZE 42 +# ifndef BUFFER_SIZE +# define BUFFER_SIZE 42 +# endif void *ft_calloc(size_t nmemb, size_t size); void *ft_realloc(void *ptr, size_t size);