summaryrefslogtreecommitdiff
path: root/Include/py_curses.h
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-02-28 12:51:18 +0000
committerJack Jansen <jack.jansen@cwi.nl>2003-02-28 12:51:18 +0000
commitd00c13a9bef6aa9fe521281b0a4a34e5bbafdbd0 (patch)
tree512e5eb09f411a814aae760acf4e093cd391ed44 /Include/py_curses.h
parentf4ecc751b1c640ab7932be714b099d2eb326d6b3 (diff)
downloadcpython-git-d00c13a9bef6aa9fe521281b0a4a34e5bbafdbd0.tar.gz
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).
Diffstat (limited to 'Include/py_curses.h')
-rw-r--r--Include/py_curses.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Include/py_curses.h b/Include/py_curses.h
index 9a89c50e7e..713a24fadc 100644
--- a/Include/py_curses.h
+++ b/Include/py_curses.h
@@ -2,7 +2,6 @@
#ifndef Py_CURSES_H
#define Py_CURSES_H
-#ifdef HAVE_NCURSES_H
#ifdef __APPLE__
/*
** On Mac OS X 10.2 [n]curses.h and stdlib.h use different guards
@@ -12,6 +11,8 @@
#define _WCHAR_T
#endif
#endif
+
+#ifdef HAVE_NCURSES_H
#include <ncurses.h>
#else
#include <curses.h>