diff options
author | Masayuki Yamamoto <ma3yuki.8mamo10@gmail.com> | 2017-11-01 12:05:26 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2017-11-01 12:05:26 (GMT) |
commit | 8bc7d63560024681dce9f40445f2877b2987e92c (patch) | |
tree | b1e05ed1a68b1d8b0f3d7a5268c11922084dc29f /pyconfig.h.in | |
parent | 280c22a82a6756e9caffef031c564fd98f1b50e7 (diff) | |
download | cpython-8bc7d63560024681dce9f40445f2877b2987e92c.zip cpython-8bc7d63560024681dce9f40445f2877b2987e92c.tar.gz cpython-8bc7d63560024681dce9f40445f2877b2987e92c.tar.bz2 |
bpo-25720: Fix the method for checking pad state of curses WINDOW (#4164)
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().
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 afd161c..f630224 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -158,6 +158,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 |