aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-06 19:03:24 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-06 19:03:51 +0100
commita35b258841cde7884f5bb71d5ae0951d5e3f27b7 (patch)
treeb7d1c6801ba924e129b3d008091a3f1b2e0adc95 /Makefile
parentName is Cub3D anyway (diff)
download42-cub3d-a35b258841cde7884f5bb71d5ae0951d5e3f27b7.tar.gz
42-cub3d-a35b258841cde7884f5bb71d5ae0951d5e3f27b7.tar.bz2
42-cub3d-a35b258841cde7884f5bb71d5ae0951d5e3f27b7.tar.xz
42-cub3d-a35b258841cde7884f5bb71d5ae0951d5e3f27b7.tar.zst
42-cub3d-a35b258841cde7884f5bb71d5ae0951d5e3f27b7.zip
fork(3) going well, freed a leak
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c142957..4c176d9 100644
--- a/Makefile
+++ b/Makefile
@@ -113,7 +113,8 @@ ifdef ASAN
CFLAGS += ${FSANITIZE}
endif
#--------------------------------------------------------------------------------------------------#
-CDEFS = -DFT_SCR_SIZE=\"${SCR_SZE}\"
+CDEFS = -D_POSIX_C_SOURCE
+CDEFS += -DFT_SCR_SIZE=\"${SCR_SZE}\"
ifeq (${OS}, Darwin)
CDEFS += -DFT_OS=1
else