[BACK]Return to patch-include_osg_Math CVS log [TXT][DIR] Up to [local] / ports / graphics / osg / patches

Annotation of ports/graphics/osg/patches/patch-include_osg_Math, Revision 1.1

1.1     ! yason       1: $OpenBSD$
        !             2: --- include/osg/Math.orig      Tue Mar  2 16:40:35 2010
        !             3: +++ include/osg/Math   Tue Mar  2 16:41:05 2010
        !             4: @@ -212,8 +212,8 @@ inline double round(double v) { return v>=0.0?floor(v+
        !             5:          inline bool isNaN(double v) { return std::isnan(v); }
        !             6:      #else
        !             7:          // Need to use to std::isnan to avoid undef problem from <cmath>
        !             8: -        inline bool isNaN(float v) { return isnan(v); }
        !             9: -        inline bool isNaN(double v) { return isnan(v); }
        !            10: +        inline bool isNaN(float v) { return __isnanf(v); }
        !            11: +        inline bool isNaN(double v) { return __isnanf(v); }
        !            12:      #endif
        !            13:  #endif
        !            14:

CVSweb