8000 explain version check · python/cpython@d573579 · GitHub
[go: up one dir, main page]

Skip to content

Commit d573579

Browse files
committed
explain version check
1 parent d925552 commit d573579

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Include/py_curses.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@
4141
use <ncurses.h>, which has some or all these features. */
4242
#if !defined(WINDOW_HAS_FLAGS) && \
4343
(NCURSES_VERSION_PATCH+0 < 20070303 || !(NCURSES_OPAQUE+0))
44+
/* the WINDOW flags field was always accessible in ncurses prior to 20070303;
45+
after that, it depends on the value of NCURSES_OPAQUE. */
4446
#define WINDOW_HAS_FLAGS 1
4547
#endif
4648
#if !defined(HAVE_CURSES_IS_PAD) && NCURSES_VERSION_PATCH+0 >= 20090906

0 commit comments

Comments
 (0)
0