commit 0c9f43581e34f002d6cf308c2454e11ad0dcd54b
parent a04661685354336efdf1e30bfd6eeb67bc4c8fd6
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 3 Jan 2022 16:43:53 +0100
Makefile: add comment for feature test macro on FreeBSD
Reported by Christos Margiolis and plasmoduck, thanks
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git 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