comparison src/sysfloat.h @ 70:131b0175ea99 r20-0b30

Import from CVS: tag r20-0b30
author cvs
date Mon, 13 Aug 2007 09:02:59 +0200
parents ec9a17fef872
children cf808b4c4290
comparison
equal deleted inserted replaced
69:804d1389bcd6 70:131b0175ea99
32 # if defined (HPUX) && !defined (HPUX8) 32 # if defined (HPUX) && !defined (HPUX8)
33 # define _MAXLDBL THIS_FILENAME ## _maxldbl 33 # define _MAXLDBL THIS_FILENAME ## _maxldbl
34 # define _NMAXLDBL THIS_FILENAME ## _nmaxldbl 34 # define _NMAXLDBL THIS_FILENAME ## _nmaxldbl
35 # endif 35 # endif
36 36
37 #if defined(MSDOS) || (defined(LINUX) && \ 37 #ifdef MSDOS
38 !(defined (__GLIBC__) && (__GLIBC__ >= 2)))
39 /* These are redefined (correctly, but differently) in values.h. */ 38 /* These are redefined (correctly, but differently) in values.h. */
40 #undef INTBITS 39 #undef INTBITS
41 #undef LONGBITS 40 #undef LONGBITS
42 #undef SHORTBITS 41 #undef SHORTBITS
43 #endif 42 #endif
44 43
45 #include <math.h> 44 #include <math.h>
46
47 #ifdef HAVE_MATHERR
48 /* Work around symbol conflict on Linux/glibc */
49 #ifndef DOMAIN
50 /* SysV matherr is not defined if _BSD_SOURCE is used, and on Linux X11 */
51 /* is compiled with _BSD_SOURCE which can also change the size of other */
52 /* types. The configure test for matherr is broken. */
53 /* Bah. Good riddance to bad rubbish. */
54 #undef HAVE_MATHERR
55 #endif
56 #endif
57 45
58 #ifdef NO_MATHERR 46 #ifdef NO_MATHERR
59 #undef HAVE_MATHERR 47 #undef HAVE_MATHERR
60 #endif 48 #endif
61 49