[Python-checkins] python/dist/src/Include py_curses.h,1.5,1.6
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Fri, 28 Feb 2003 04:51:21 -0800
Update of /cvsroot/python/python/dist/src/Include
In directory sc8-pr-cvs1:/tmp/cvs-serv4384
Modified Files:
py_curses.h
Log Message:
Moved the Apple workaround for the guard define for wchar_t out of
the #ifdef HAVE_NCURSES_H: the same problem exists on OSX 10.1 with
a fink-installed curses (which uses curses.h as the include file name).
Index: py_curses.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/py_curses.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** py_curses.h 22 Nov 2002 16:12:57 -0000 1.5
--- py_curses.h 28 Feb 2003 12:51:18 -0000 1.6
***************
*** 3,7 ****
#define Py_CURSES_H
- #ifdef HAVE_NCURSES_H
#ifdef __APPLE__
/*
--- 3,6 ----
***************
*** 13,16 ****
--- 12,17 ----
#endif
#endif
+
+ #ifdef HAVE_NCURSES_H
#include <ncurses.h>
#else