diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-10-13 09:00:42 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-10-13 09:00:42 (GMT) |
commit | 1c07b4b4fbf6c89c6789343e21ea16f52f905f2d (patch) | |
tree | ffd0a29e1a222017100959b99bbc1d955b33315c /Modules/_cursesmodule.c | |
parent | a38d9169bc9b1a290b403f9b9c82a096af10b4d6 (diff) | |
download | cpython-1c07b4b4fbf6c89c6789343e21ea16f52f905f2d.zip cpython-1c07b4b4fbf6c89c6789343e21ea16f52f905f2d.tar.gz cpython-1c07b4b4fbf6c89c6789343e21ea16f52f905f2d.tar.bz2 |
Test for __sun instead of __sun__, since SUNWspro only defines the latter;
gcc defines both.
Diffstat (limited to 'Modules/_cursesmodule.c')
-rw-r--r-- | Modules/_cursesmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index a56a67c..6f79aa0 100644 --- a/Modules/_cursesmodule.c +++ b/Modules/_cursesmodule.c @@ -118,7 +118,7 @@ extern int setupterm(char *,int,int *); #include <term.h> #endif -#if defined(sgi) || defined(__sun__) +#if defined(sgi) || defined(__sun) #define STRICT_SYSV_CURSES /* Don't use ncurses extensions */ typedef chtype attr_t; /* No attr_t type is available */ #endif |