[Python-checkins] CVS: python/dist/src/Include py_curses.h,1.2,1.3
Martin v. L?wis
loewis@users.sourceforge.net
Wed, 24 Oct 2001 10:10:51 -0700
Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv27487/Include
Modified Files:
py_curses.h
Log Message:
Check for HP/UX curses problems. Define _XOPEN_SOURCE_EXTENDED and
STRICT_SYSV_CURSES when compiling curses module on HP/UX. Generalize
access to _flags on systems where WINDOW is opaque. Fixes bugs
#432497, #422265, and the curses parts of #467145 and #473150.
Index: py_curses.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/py_curses.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** py_curses.h 2001/10/13 09:12:41 1.2
--- py_curses.h 2001/10/24 17:10:49 1.3
***************
*** 13,16 ****
--- 13,27 ----
#endif
+ #ifdef HAVE_NCURSES_H
+ /* configure was checking <curses.h>, but we will
+ use <ncurses.h>, which has all these features. */
+ #ifndef WINDOW_HAS_FLAGS
+ #define WINDOW_HAS_FLAGS 1
+ #endif
+ #ifndef MVWDELCH_IS_EXPRESSION
+ #define MVWDELCH_IS_EXPRESSION 1
+ #endif
+ #endif
+
#ifdef __cplusplus
extern "C" {