Mercurial > hg > xemacs-beta
diff 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 |
line wrap: on
line diff
--- a/src/s/sunos4-0.h Mon Aug 13 10:18:22 2007 +0200 +++ b/src/s/sunos4-0.h Mon Aug 13 10:19:09 2007 +0200 @@ -54,7 +54,25 @@ */ /* Since lcc is not going to be heavily used anymore if it ever was, I'm putting broken-sun.h back in. */ +/* Since Gcc 2.8 appears to have fixed the problem, I'm conditionalizing */ +/* this ugly hack. */ + +#if defined (__GNUC__) +#if defined (__GNUC_MINOR__) +#if ((__GNUC__ == 2) && (__GNUC_MINOR__ > 7)) || ((__GNUC__ > 2)) +/* Don't include for gcc 2.8.0*/ +#else #include "../broken-sun.h" +#endif + +#else /* __GNUC_MINOR__ is undefined */ +#include "../broken-sun.h" +#endif + +#else +/* Not GNU C */ +#endif + extern char *strdup (); extern char *ttyname (int); extern void tzsetwall (void);