summaryrefslogtreecommitdiffstats
path: root/lib/libncurses
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-05-18 00:41:27 +0000
committerobrien <obrien@FreeBSD.org>2001-05-18 00:41:27 +0000
commit01e54fe1163e67ec6b4e6d1f8f833a5b7723b3e7 (patch)
treedac016d5b027ff0d99bbec3ca56aa39d48cfc301 /lib/libncurses
parent3d3624c52214f1f56c134c45512540666e05e841 (diff)
downloadFreeBSD-src-01e54fe1163e67ec6b4e6d1f8f833a5b7723b3e7.zip
FreeBSD-src-01e54fe1163e67ec6b4e6d1f8f833a5b7723b3e7.tar.gz
Use the correct FreeBSD definitions for wint_t and wchar_t.
Diffstat (limited to 'lib/libncurses')
-rw-r--r--lib/libncurses/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libncurses/Makefile b/lib/libncurses/Makefile
index ffa8d82..1d5db81 100644
--- a/lib/libncurses/Makefile
+++ b/lib/libncurses/Makefile
@@ -363,7 +363,9 @@ curses.h: curses.h.in
-e "s%@cf_cv_typeof_chtype@%${TYPEOF_CHTYPE}%g" \
-e "s%@cf_cv_widec_shift@%${WIDEC_SHIFT}%g" \
-e "s%@cf_cv_shift_limit@%${SHIFT_LIMIT}%g" \
- -e "s%@cf_cv_1UL@%${ONEUL}%g"
+ -e "s%@cf_cv_1UL@%${ONEUL}%g" \
+ -e "s/ _WCHAR_T/ _BSD_WCHAR_T_/g" \
+ -e "s/ _WINT_T/ _BSD_WINT_T_/g"
unctrl.h: unctrl.h.in
sed <${NCURSES}/include/$@.in >$@ \
OpenPOWER on IntegriCloud