gallium/util: Define isfinite and isnan for MSVC.

Define isfinite and isnan to _finite and _isnan respectively for MSVC.
Those macros are needed by st/vega.
This commit is contained in:
Chia-I Wu
2010-05-31 13:01:46 +08:00
parent 60558b1594
commit a2f3115307
+3
View File
@@ -168,6 +168,9 @@ static INLINE float logf( float f )
#undef logf
#define logf(x) ((float)log((double)(x)))
#endif /* logf */
#define isfinite(x) _finite((double)(x))
#define isnan(x) _isnan((double)(x))
#endif
static INLINE double log2( double x )