source: trunk/toolchain/uClibc/patches-0.9.31/170-math_finite.patch @ 20873

Last change on this file since 20873 was 20873, checked in by nico, 6 years ago

toolchain/uClibc: add preliminary support for 0.9.31 (needs testing)

File size: 647 bytes
  • include/math.h

    a b libm_hidden_proto(signgam) 
    198198 
    199199 
    200200/* ISO C99 defines some generic macros which work on any data type.  */ 
    201 #ifdef __USE_ISOC99 
     201#if defined(__USE_ISOC99) || defined(__USE_BSD) 
    202202 
    203203/* Get the architecture specific values describing the floating-point 
    204204   evaluation.  The following symbols will get defined: 
    enum 
    318318 
    319319#endif /* Use ISO C99.  */ 
    320320 
     321/* BSD compat */ 
     322#define finite(x) __finite(x) 
     323#define finitef(x) __finitef(x) 
     324#define finitel(x) __finitel(x) 
     325 
    321326#ifdef  __USE_MISC 
    322327/* Support for various different standard error handling behaviors.  */ 
    323328typedef enum 
Note: See TracBrowser for help on using the repository browser.