We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89f2934 commit bbc18e5Copy full SHA for bbc18e5
meson.build
@@ -101,6 +101,14 @@ if curses == 'ncursesw'
101
elif curses == 'ncurses'
102
curses_enhanced = true
103
curses_color = true
104
+
105
+ # Manually override NCURSES_WIDECHAR; this suppresses definitions
106
+ # for symbols which are not present in the non-wide ncurses build.
107
+ # This macro really belongs in ncurses.pc, not here.
108
+ curses_dep = declare_dependency(
109
+ compile_args: '-DNCURSES_WIDECHAR=0',
110
+ dependencies: curses_dep,
111
+ )
112
else
113
# TODO: test this with pdcurses
114
curses_enhanced = cc.has_header_symbol('curses.h', '_XOPEN_CURSES', dependencies: curses_dep)
0 commit comments