bypass curses_putmixed if -DCURSES_GENL_PUTMIXED is defined

This commit is contained in:
nhmall
2023-06-11 09:23:07 -04:00
parent c4c31ae6a8
commit 37b21dd9fd
4 changed files with 25 additions and 11 deletions

View File

@@ -90,7 +90,12 @@ WINCFLAGS += -DNOTTYGRAPHICS
endif
ifdef WANT_WIN_CURSES
WINCFLAGS += -DCURSES_GRAPHICS -D_XOPEN_SOURCE_EXTENDED=1
WINCFLAGS += -DCURSES_GRAPHICS
ifeq "$(NOPUTMIXED)" "1"
WINCFLAGS += -DCURSES_GENL_PUTMIXED
else
WINCFLAGS += -D_XOPEN_SOURCE_EXTENDED=1
endif
WINSRC += $(WINCURSESSRC)
WINOBJ0 += $(WINCURSESOBJ)
endif