comparison src/sysfloat.h @ 410:de805c49cfc1 r21-2-35

Import from CVS: tag r21-2-35
author cvs
date Mon, 13 Aug 2007 11:19:21 +0200
parents 74fd4e045ea6
children 697ef44129c6
comparison
equal deleted inserted replaced
409:301b9ebbdf3b 410:de805c49cfc1
35 # if defined (HPUX) && !defined (HPUX8) 35 # if defined (HPUX) && !defined (HPUX8)
36 # define _MAXLDBL THIS_FILENAME ## _maxldbl 36 # define _MAXLDBL THIS_FILENAME ## _maxldbl
37 # define _NMAXLDBL THIS_FILENAME ## _nmaxldbl 37 # define _NMAXLDBL THIS_FILENAME ## _nmaxldbl
38 # endif 38 # endif
39 39
40 #if defined(MSDOS) || (defined(LINUX) && \ 40 #if defined(LINUX) && !(defined (__GLIBC__) && (__GLIBC__ >= 2))
41 !(defined (__GLIBC__) && (__GLIBC__ >= 2)))
42 /* These are redefined (correctly, but differently) in values.h. */ 41 /* These are redefined (correctly, but differently) in values.h. */
43 #undef INTBITS 42 #undef INTBITS
44 #undef LONGBITS 43 #undef LONGBITS
45 #undef SHORTBITS 44 #undef SHORTBITS
46 #endif 45 #endif
47 46
48 #include <math.h> 47 #include <math.h>
49 48
50 #ifdef WINDOWSNT 49 #ifdef WIN32_NATIVE
51 /* A quirky way to obtain logb prototype */ 50 /* A quirky way to obtain logb prototype */
52 #include <float.h> 51 #include <float.h>
53 #define logb _logb 52 #define logb _logb
54 #endif 53 #endif
55 54