[Python-checkins] CVS: python/dist/src/Include py_curses.h,1.1,1.2
Martin v. L?wis
loewis@users.sourceforge.net
Sat, 13 Oct 2001 02:12:43 -0700
- Previous message: [Python-checkins] CVS: python/dist/src/Modules socketmodule.c,1.179,1.180 _cursesmodule.c,2.55,2.56
- Next message: [Python-checkins] CVS: python/dist/src pyconfig.h.in,1.13,1.14 configure,1.258,1.259 configure.in,1.266,1.267
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv16024/Include
Modified Files:
py_curses.h
Log Message:
Check for term.h and include it on non-ncurses system to get a declaration
for tigetstr.
Index: py_curses.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/py_curses.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** py_curses.h 2000/12/22 21:51:10 1.1
--- py_curses.h 2001/10/13 09:12:41 1.2
***************
*** 7,10 ****
--- 7,14 ----
#else
#include <curses.h>
+ #ifdef HAVE_TERM_H
+ /* for tigetstr, which is not declared in SysV curses */
+ #include <term.h>
+ #endif
#endif
- Previous message: [Python-checkins] CVS: python/dist/src/Modules socketmodule.c,1.179,1.180 _cursesmodule.c,2.55,2.56
- Next message: [Python-checkins] CVS: python/dist/src pyconfig.h.in,1.13,1.14 configure,1.258,1.259 configure.in,1.266,1.267
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]