source: trunk/toolchain/uClibc/patches-0.9.30.3/170-math_finite.patch @ 20181

Last change on this file since 20181 was 20181, checked in by florian, 7 years ago

[toolchain] add support for uClibc 0.9.30.3

File size: 615 bytes
  • include/math.h

    a b  
    179179 
    180180 
    181181/* ISO C99 defines some generic macros which work on any data type.  */ 
    182 #ifdef __USE_ISOC99 
     182#if defined(__USE_ISOC99) || defined(__USE_BSD) 
    183183 
    184184/* Get the architecture specific values describing the floating-point 
    185185   evaluation.  The following symbols will get defined: 
     
    299299 
    300300#endif /* Use ISO C99.  */ 
    301301 
     302/* BSD compat */ 
     303#define finite(x) __finite(x) 
     304#define finitef(x) __finitef(x) 
     305#define finitel(x) __finitel(x) 
     306 
    302307#ifdef  __USE_MISC 
    303308/* Support for various different standard error handling behaviors.  */ 
    304309typedef enum 
Note: See TracBrowser for help on using the repository browser.