Mercurial > hg > xemacs-beta
diff src/sysfloat.h @ 104:cf808b4c4290 r20-1b4
Import from CVS: tag r20-1b4
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:16:51 +0200 |
parents | 131b0175ea99 |
children | 360340f9fd5f |
line wrap: on
line diff
--- a/src/sysfloat.h Mon Aug 13 09:15:51 2007 +0200 +++ b/src/sysfloat.h Mon Aug 13 09:16:51 2007 +0200 @@ -43,6 +43,17 @@ #include <math.h> +#ifdef HAVE_MATHERR +/* Work around symbol conflict on Linux/glibc */ +#ifndef DOMAIN +/* SysV matherr is not defined if _BSD_SOURCE is used, and on Linux X11 */ +/* is compiled with _BSD_SOURCE which can also change the size of other */ +/* types. The configure test for matherr is broken. */ +/* Bah. Good riddance to bad rubbish. */ +#undef HAVE_MATHERR +#endif +#endif + #ifdef NO_MATHERR #undef HAVE_MATHERR #endif