From 0c9f43581e34f002d6cf308c2454e11ad0dcd54b Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Mon, 3 Jan 2022 16:43:53 +0100 Subject: Makefile: add comment for feature test macro on FreeBSD Reported by Christos Margiolis and plasmoduck, thanks --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 06e1f62..fdf99ba 100644 --- a/Makefile +++ b/Makefile @@ -33,9 +33,12 @@ SFEED_CURSES_LDFLAGS = ${LDFLAGS} -lcurses #SFEED_CURSES_LDFLAGS = ${LDFLAGS} -lncurses # Gentoo Linux: some distros might also require -ltinfo and -D_DEFAULT_SOURCE -# to prevent warnings about feature macros. +# to prevent warnings about feature test macros. #SFEED_CURSES_LDFLAGS = ${LDFLAGS} -lcurses -ltinfo +# FreeBSD: unset feature test macros for SIGWINCH etc. +#SFEED_CURSES_CPPFLAGS = + # use minicurses with hardcoded escape sequences (not the system curses). #SFEED_CURSES_CPPFLAGS = -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE \ # -DSFEED_THEME=\"themes/${SFEED_THEME}.h\" -DSFEED_MINICURSES -- cgit v1.2.3