Skip to content

Commit

Permalink
Define _XOPEN_SOURCE_EXTENDED on mac localized curses builds to enabl…
Browse files Browse the repository at this point in the history
…e wide character support (#73697)
  • Loading branch information
kevingranade authored May 12, 2024
1 parent d994fda commit fa92f1a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -597,8 +597,9 @@ ifeq ($(NATIVE), osx)
endif
endif
ifeq ($(LOCALIZE), 1)
ifeq ($(MACPORTS), 1)
ifneq ($(TILES), 1)
ifneq ($(TILES), 1)
CXXFLAGS += -D_XOPEN_SOURCE_EXTENDED
ifeq ($(MACPORTS), 1)
CXXFLAGS += -I$(shell ncursesw6-config --includedir)
LDFLAGS += -L$(shell ncursesw6-config --libdir)
endif
Expand Down

0 comments on commit fa92f1a

Please sign in to comment.