summaryrefslogtreecommitdiffstats
path: root/Modules/_cursesmodule.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-09-30 16:19:48 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-09-30 16:19:48 (GMT)
commit21ee4091e10c6f05360bbb60e49aa3639408a612 (patch)
treec00517000f57a88877b852bb6e6b1d4a1c37e1f2 /Modules/_cursesmodule.c
parent174aa49a88336713cd2231e9fe9110b8fb089d6c (diff)
downloadcpython-21ee4091e10c6f05360bbb60e49aa3639408a612.zip
cpython-21ee4091e10c6f05360bbb60e49aa3639408a612.tar.gz
cpython-21ee4091e10c6f05360bbb60e49aa3639408a612.tar.bz2
Patch #615069: Fix build problems on SCO Open Server 5. Backported to 2.2.
Diffstat (limited to 'Modules/_cursesmodule.c')
-rw-r--r--Modules/_cursesmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c
index 65f60f0..aab24cf 100644
--- a/Modules/_cursesmodule.c
+++ b/Modules/_cursesmodule.c
@@ -124,7 +124,7 @@ extern int setupterm(char *,int,int *);
#include <term.h>
#endif
-#if !defined(HAVE_NCURSES_H) && (defined(sgi) || defined(__sun))
+#if !defined(HAVE_NCURSES_H) && (defined(sgi) || defined(__sun) || defined(SCO5))
#define STRICT_SYSV_CURSES /* Don't use ncurses extensions */
typedef chtype attr_t; /* No attr_t type is available */
#endif