Mercurial > cpython-lru_cache-weakref
diff Modules/_cursesmodule.c @ 20412:698bf7c22bfe legacy-trunk
Test for __sun instead of __sun__, since SUNWspro only defines the latter;
gcc defines both.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Sat, 13 Oct 2001 09:00:42 +0000 |
| parents | 843da9795381 |
| children | b5ca0687ba6a |
line wrap: on
line diff
--- a/Modules/_cursesmodule.c Sat Oct 13 08:50:10 2001 +0000 +++ b/Modules/_cursesmodule.c Sat Oct 13 09:00:42 2001 +0000 @@ -118,7 +118,7 @@ #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
