comparison src/sysfloat.h @ 442:abe6d1db359e r21-2-36

Import from CVS: tag r21-2-36
author cvs
date Mon, 13 Aug 2007 11:35:02 +0200
parents 8de8e3f6228a
children 943eaba38521
comparison
equal deleted inserted replaced
441:72a7cfa4a488 442:abe6d1db359e
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