comparison src/s/sunos4-0.h @ 249:83b3d10dcba9 r20-5b23

Import from CVS: tag r20-5b23
author cvs
date Mon, 13 Aug 2007 10:19:09 +0200
parents 2d532a89d707
children
comparison
equal deleted inserted replaced
248:ad40ac2754d8 249:83b3d10dcba9
52 be things that are Posix but not ANSI?) You're in a maze of twisty 52 be things that are Posix but not ANSI?) You're in a maze of twisty
53 little standards, all alike... 53 little standards, all alike...
54 */ 54 */
55 /* Since lcc is not going to be heavily used anymore if it ever was, I'm 55 /* Since lcc is not going to be heavily used anymore if it ever was, I'm
56 putting broken-sun.h back in. */ 56 putting broken-sun.h back in. */
57 /* Since Gcc 2.8 appears to have fixed the problem, I'm conditionalizing */
58 /* this ugly hack. */
59
60 #if defined (__GNUC__)
61 #if defined (__GNUC_MINOR__)
62 #if ((__GNUC__ == 2) && (__GNUC_MINOR__ > 7)) || ((__GNUC__ > 2))
63 /* Don't include for gcc 2.8.0*/
64 #else
57 #include "../broken-sun.h" 65 #include "../broken-sun.h"
66 #endif
67
68 #else /* __GNUC_MINOR__ is undefined */
69 #include "../broken-sun.h"
70 #endif
71
72 #else
73 /* Not GNU C */
74 #endif
75
58 extern char *strdup (); 76 extern char *strdup ();
59 extern char *ttyname (int); 77 extern char *ttyname (int);
60 extern void tzsetwall (void); 78 extern void tzsetwall (void);
61 extern int getpagesize (void); 79 extern int getpagesize (void);
62 80