aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Villiom Podlaski Christiansen <danchr@gmail.com>2020-09-17 16:38:55 +0200
committerDan Villiom Podlaski Christiansen <danchr@gmail.com>2020-09-17 16:38:55 +0200
commitdcdfd31f44667131d5e4c1ac8b87a11715ea3a3c (patch)
tree0e94f349617e8de3cd3bfce07aea6f57e1ef6aac /lib_pypy
parentrvmprof: avoid missing prototype, which is an error in Clang 11 (diff)
downloadpypy-dcdfd31f44667131d5e4c1ac8b87a11715ea3a3c.tar.gz
pypy-dcdfd31f44667131d5e4c1ac8b87a11715ea3a3c.tar.bz2
pypy-dcdfd31f44667131d5e4c1ac8b87a11715ea3a3c.zip
fix curses build
Diffstat (limited to 'lib_pypy')
-rw-r--r--lib_pypy/_curses_build.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib_pypy/_curses_build.py b/lib_pypy/_curses_build.py
index 8c96a1bed9..7045d06c00 100644
--- a/lib_pypy/_curses_build.py
+++ b/lib_pypy/_curses_build.py
@@ -62,6 +62,8 @@ ffi.set_source("_curses_cffi", """
#define NCURSES_OPAQUE 0
#endif
+/* explicitly opt into this, rather than relying on _XOPEN_SOURCE */
+#define NCURSES_WIDECHAR 1
/* ncurses 6 change behaviour and makes all pointers opaque,
lets define backward compatibility. It doesn't harm