summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2022-01-03 16:43:53 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2022-01-03 16:43:53 +0100
commit0c9f43581e34f002d6cf308c2454e11ad0dcd54b (patch)
tree143b349931272099960dfa4c40d48b2256c4c2f2
parenta04661685354336efdf1e30bfd6eeb67bc4c8fd6 (diff)
Makefile: add comment for feature test macro on FreeBSD
Reported by Christos Margiolis and plasmoduck, thanks
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
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