mesa: added isblank() for MSVC

This commit is contained in:
Brian Paul 2010-08-24 08:04:37 -06:00
parent d902eb59d5
commit f82163b012

View file

@ -147,6 +147,7 @@ typedef union { GLfloat f; GLint i; } fi_type;
static INLINE float truncf(float x) { return x < 0.0f ? ceilf(x) : floorf(x); }
static INLINE float exp2f(float x) { return powf(2.0f, x); }
static INLINE float log2f(float x) { return logf(x) * 1.442695041f; }
static INLINE int isblank(int ch) { return ch == ' ' || ch == '\t'; }
#endif
/*@}*/