diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2017-11-01 05:36:48 -0700 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2017-11-01 14:36:48 +0200 |
commit | 6ba0b583d6785a256b17d27431908d67015eeeb6 (patch) | |
tree | f07b33336d954ec3ae75be4bb826411d72762026 /pyconfig.h.in | |
parent | e7531e54bf195b8d3ed35b4138901c82f7ed794c (diff) | |
download | cpython-git-6ba0b583d6785a256b17d27431908d67015eeeb6.tar.gz |
bpo-25720: Fix the method for checking pad state of curses WINDOW (GH-4164) (#4213)
Modify the code to use ncurses is_pad() instead of checking WINDOW
_flags field. If your platform does not provide the is_pad(), the
existing way that checks the field will be enabled.
Note: This change does not drop support for platforms where do not
have both WINDOW _flags field and is_pad().
(cherry picked from commit 8bc7d63560024681dce9f40445f2877b2987e92c)
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r-- | pyconfig.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in index f3a3ca092d..367b4c247a 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -148,6 +148,9 @@ /* Define if you have the 'immedok' function. */ #undef HAVE_CURSES_IMMEDOK +/* Define if you have the 'is_pad' function or macro. */ +#undef HAVE_CURSES_IS_PAD + /* Define if you have the 'is_term_resized' function. */ #undef HAVE_CURSES_IS_TERM_RESIZED |