ncurses/tic: Remove bogus definitions of _XOPEN_SOURCE_EXTENDED. master
authorSascha Wildner <saw@online.de>
Tue, 13 Apr 2021 21:40:36 +0000 (23:40 +0200)
committerSascha Wildner <saw@online.de>
Tue, 13 Apr 2021 21:40:36 +0000 (23:40 +0200)
XPG 4.2 aka SUSv1 aka UNIX95 is 26 years old stuff and I'm pretty
sure that we will never support it. Our default environment is just
fine here.

lib/libncurses/Makefile.inc
lib/libncurses/tic_next/Makefile
usr.bin/tic/Makefile

index 9e195cc..cdde2e9 100644 (file)
@@ -6,7 +6,6 @@ SYMBOL_MAPS=    ${.CURDIR}/../Symbol.base.map
 TERMINFO_CAPS=  ${NCURSESDIR}/include/Caps
 
 .if defined(ENABLE_WIDEC)
-CFLAGS+=       -D_XOPEN_SOURCE_EXTENDED
 CFLAGS+=       -DENABLE_WIDEC
 SW_WIDEC=      1
 SW_TYPE=       cchar_t
index 5b99fb9..a5a1555 100644 (file)
@@ -4,7 +4,6 @@ TERMINFO_CAPS=  ${NCURSESDIR}/include/Caps
 
 PROG=          tic_next
 
-CFLAGS+=       -D_XOPEN_SOURCE_EXTENDED
 CFLAGS+=       -DENABLE_WIDEC
 CFLAGS+=       -DSET_NCURSES_CH_T=cchar_t
 CFLAGS+=       -DSET_NEED_WCHAR_H=1
index 9abd689..713749a 100644 (file)
@@ -5,7 +5,6 @@ PROGSDIR=       ${NCURSESDIR}/progs
 
 PROG=          tic
 
-CFLAGS+=       -D_XOPEN_SOURCE_EXTENDED
 CFLAGS+=       -DENABLE_WIDEC
 CFLAGS+=       -DSET_NCURSES_CH_T=cchar_t
 CFLAGS+=       -DSET_NEED_WCHAR_H=1