Masayuki Yamamoto added the comment: I updated the patch that add configuration check for is_pad. the is_pad is wrapped into py_is_pad at Modules/_cursesmodule.c:932 by either of three ways.
Case one -- is_pad is found: Define the macro that is simple wrapping. Case two -- is_pad is not found, however WINDOW has _flags field: Define the macro using _flags field. Case three -- is_pad is not found, and WINDOW doesn't have _flags field: Define the macro that is always preprocessed to FALSE. I succeeded to build curses module on Cygwin (Vista x86) using this patch. This patch doesn't include that undo fixes for specific platforms. ---------- versions: +Python 3.7 Added file: http://bugs.python.org/file45002/curses-is_pad.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25720> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com