summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-12 18:47:45 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-12 18:47:45 +0200
commited62166664f62b1ff8a8d972571c00a832acd24e (patch)
tree5d8c4347d36dd5d3d1586561aac7d2fa9fe5edfb /Makefile
parentcompat (diff)
download42-minishell-ed62166664f62b1ff8a8d972571c00a832acd24e.tar.gz
42-minishell-ed62166664f62b1ff8a8d972571c00a832acd24e.tar.bz2
42-minishell-ed62166664f62b1ff8a8d972571c00a832acd24e.tar.xz
42-minishell-ed62166664f62b1ff8a8d972571c00a832acd24e.tar.zst
42-minishell-ed62166664f62b1ff8a8d972571c00a832acd24e.zip
Compat fix
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4df2846..ced56f2 100644
--- a/Makefile
+++ b/Makefile
@@ -125,6 +125,8 @@ CFLAGS += -Wextra
CFLAGS += -Werror
CFLAGS += -pedantic
#------------------------------------------------------------------------------#
+CDEFS = -D_POSIX_C_SOURCE=200112L
+#------------------------------------------------------------------------------#
LDFLAGS = -L${LFT_DIR}
LDFLAGS += -lft
#==============================================================================#