VirtualBox

Changeset 96019 in vbox for trunk/include/iprt/nocrt/math.h


Ignore:
Timestamp:
Aug 4, 2022 8:37:27 AM (3 years ago)
Author:
vboxsync
Message:

include/iprt/nocrt: Header build fixes for linux. bugref:10261

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/nocrt/math.h

    r96013 r96019  
    526526#define isinf(x)                    \
    527527    ((sizeof (x) == sizeof (float)) ? RT_NOCRT(__isinff)(x)   \
    528     : (sizeof (x) == sizeof (double)) ? isinf(x)    \
     528    : (sizeof (x) == sizeof (double)) ? RT_NOCRT(isinf)(x)    \
    529529    : RT_NOCRT(__isinfl)(x))
    530530#define isnan(x)                    \
    531     ((sizeof (x) == sizeof (float)) ? isnanf(x)     \
    532     : (sizeof (x) == sizeof (double)) ? isnan(x)    \
     531    ((sizeof (x) == sizeof (float)) ? RT_NOCRT(isnanf)(x)     \
     532    : (sizeof (x) == sizeof (double)) ? RT_NOCRT(isnan)(x)    \
    533533    : RT_NOCRT(__isnanl)(x))
    534534#define isnormal(x)                 \
     
    663663# define drem RT_NOCRT(drem)
    664664# define finite RT_NOCRT(finite)
    665 # define isinf RT_NOCRT(isinf)
    666 # define isnan RT_NOCRT(isnan)
     665/*# define isinf RT_NOCRT(isinf) - already a macro */
     666/*# define isnan RT_NOCRT(isnan) - already a macro */
    667667# define isnanf RT_NOCRT(isnanf)
    668668# define gamma_r RT_NOCRT(gamma_r)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette