From fac217cc015b70a2ffd68b998c4743801d3e8ac7 Mon Sep 17 00:00:00 2001 From: gbaconni Date: Fri, 29 Oct 2021 20:14:09 +0200 Subject: [PATCH] 2021-10-29 20:14:09 --- .DS_Store | Bin 0 -> 6148 bytes libft/t1 | 18 ------------------ libft/t2 | 28 ---------------------------- 3 files changed, 46 deletions(-) create mode 100644 .DS_Store delete mode 100644 libft/t1 delete mode 100644 libft/t2 diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..34b0ef32e04cf00910509ff53d3a8f56b80ceded GIT binary patch literal 6148 zcmeHK%}T>S5Z>*Nrij>spm^Ggw+d}7tsaCB>%p54(Su5xkZJ=lDQ#-eSjl_n8~Fgf zjx)R4(o#Km5wSBc`_0bI?6P0N&Msq&TSKqHSdlSifFfoJ(0m~{j=CTj?Lp*nj@TUy zdTtQ83$f(*n+)K$%d>#_%w@N1_WQlNy}%#DYClV9adt z!S07a6yAY%k}-)SBnF59Vqhs4(1)L~wiLUiO%emdz)u*!^Fe?jni^Au^5}pDua7vM zLqq`^-x7#Iqp2}f2qPd|r2?u{uAdlOrGsDSI8$S)P^B|2SB81?%3QxtxLh6lLWVPL zDx{VeAO_|c$f|A;>;K93@BjHE>JbCPz`tUE=bCoYf-ULVy0AH{wF0yaih^;e!f6T^ ivJ^usmf~$tDc~1q0Gb+8h2R09i-4qo8e-sA8TbTGfl-hE literal 0 HcmV?d00001 diff --git a/libft/t1 b/libft/t1 deleted file mode 100644 index 62ed274..0000000 --- a/libft/t1 +++ /dev/null @@ -1,18 +0,0 @@ ---- a/Makefile -+++ b/Makefile -@@ -14,13 +14,14 @@ CC = gcc - - CFLAGS = -Wall -Wextra -Werror - --SRC = ../*.c \ -+SRC = \ - ft_compare_results.c \ - ft_mem_count.c \ - ft_my_split.c \ - ft_print.c \ - ft_run_test.c \ - main.c \ -+ -L../libft -I../libft -lft - - AND = && - diff --git a/libft/t2 b/libft/t2 deleted file mode 100644 index 95a6009..0000000 --- a/libft/t2 +++ /dev/null @@ -1,28 +0,0 @@ ---- a/ft.h -+++ b/ft.h -@@ -13,15 +13,24 @@ - #ifndef FT_H - # define FT_H - -+#include -+ - //for MacOS, MALLOC_SIZE_FUNCTION Macro should be malloc_size - //for Windows, MALLOC_SIZE_FUNCTION Macro should be _msize - //for GLIBC systems, MALLOC_SIZE_FUNCTION Macro should be malloc_usable_size -+#ifdef __GNU_LIBRARY__ -+#define MALLOC_SIZE_FUNCTION malloc_usable_size -+#else - #define MALLOC_SIZE_FUNCTION malloc_size -+#endif - - //For Windows/GLIBC next #include should be "#include " - //For MacOs next #include should be #include -+#ifdef __GNU_LIBRARY__ -+#include -+#else - #include -- -+#endif - - //Includes - #include