aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-01-16 00:51:22 +0100
committerCharles <sircharlesaze@gmail.com>2020-01-16 00:51:22 +0100
commitae1412fdc283e442a0869aa7d63778449a7e5cfe (patch)
tree0f5d5ff124129b3f085ce94d3004622c0d041323 /include
parente8a7d07f1c99b5ce6210603d88098580af95fb13 (diff)
downloadlibft-ae1412fdc283e442a0869aa7d63778449a7e5cfe.tar.gz
libft-ae1412fdc283e442a0869aa7d63778449a7e5cfe.tar.bz2
libft-ae1412fdc283e442a0869aa7d63778449a7e5cfe.zip
Features toggle to avoid bloat and unauthorized functions, config file, script to generate a rendu branch
Diffstat (limited to 'include')
-rw-r--r--include/libft.h10
1 files changed, 7 insertions, 3 deletions
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 <stdlib.h>
# include <stddef.h>
# include <limits.h>
+
# include <errno.h>
+
+
# include "get_next_line.h"
-# define TRUE 1
-# define FALSE 0
+# ifdef __linux__
+# include <stdio.h>
+# 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