Commit bcc9feb2 authored by Jack Jansen's avatar Jack Jansen

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).
parent 7d74d1d2
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
#ifndef Py_CURSES_H #ifndef Py_CURSES_H
#define Py_CURSES_H #define Py_CURSES_H
#ifdef HAVE_NCURSES_H
#ifdef __APPLE__ #ifdef __APPLE__
/* /*
** On Mac OS X 10.2 [n]curses.h and stdlib.h use different guards ** On Mac OS X 10.2 [n]curses.h and stdlib.h use different guards
...@@ -12,6 +11,8 @@ ...@@ -12,6 +11,8 @@
#define _WCHAR_T #define _WCHAR_T
#endif #endif
#endif #endif
#ifdef HAVE_NCURSES_H
#include <ncurses.h> #include <ncurses.h>
#else #else
#include <curses.h> #include <curses.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment