comparison src/terminfo.c @ 406:b8cc9ab3f761 r21-2-33

Import from CVS: tag r21-2-33
author cvs
date Mon, 13 Aug 2007 11:17:09 +0200
parents 74fd4e045ea6
children 697ef44129c6
comparison
equal deleted inserted replaced
405:0e08f63c74d2 406:b8cc9ab3f761
46 like their termcap counterparts except for tparm, which replaces 46 like their termcap counterparts except for tparm, which replaces
47 tgoto. Not only is the calling sequence different, but the string 47 tgoto. Not only is the calling sequence different, but the string
48 format is different too. 48 format is different too.
49 */ 49 */
50 50
51 #include CURSES_H_PATH 51 #include CURSES_H_FILE
52 /* Sun, in their infinite lameness, supplies (possibly) broken headers 52 /* Sun, in their infinite lameness, supplies (possibly) broken headers
53 even under Solaris. GCC feels it necessary to correct things by 53 even under Solaris. GCC feels it necessary to correct things by
54 supplying its own headers. Unfortunately, if you build GCC under 54 supplying its own headers. Unfortunately, if you build GCC under
55 one version of Solaris and then upgrade your Solaris, you may get 55 one version of Solaris and then upgrade your Solaris, you may get
56 screwed because Sun in their continuing lameness changes curses.h 56 screwed because Sun in their continuing lameness changes curses.h
57 in such a way that the "fixed" GCC headers are now broken. (GCC 57 in such a way that the "fixed" GCC headers are now broken. (GCC
58 is equally lame in that it supplies "fixed" headers for curses.h 58 is equally lame in that it supplies "fixed" headers for curses.h
59 but not term.h.) However, it seems to work to just not include 59 but not term.h.) However, it seems to work to just not include
60 term.h under Solaris, so we try that. KLUDGE! */ 60 term.h under Solaris, so we try that. KLUDGE! */
61 #if !(defined (__GNUC__) && defined (SOLARIS2)) 61 #if !(defined (__GNUC__) && defined (SOLARIS2))
62 #include TERM_H_PATH 62 #include TERM_H_FILE
63 #endif 63 #endif
64 64
65 extern void *xmalloc (int size); 65 extern void *xmalloc (int size);
66 66
67 #if 0 /* If this isn't declared somewhere, too bad */ 67 #if 0 /* If this isn't declared somewhere, too bad */