diff options
author | Brian Paul <[email protected]> | 2010-08-24 08:04:37 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-08-24 08:04:37 -0600 |
commit | f82163b01260edf2c1bf6905846f74bf001d7139 (patch) | |
tree | 899ec9f5863c415e284f2397bd94f36163b41860 /src | |
parent | d902eb59d54cd5143c3417e9f0f845288fdd2e3e (diff) |
mesa: added isblank() for MSVC
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/imports.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h index 6c2ef52d35b..cb35885dbd9 100644 --- a/src/mesa/main/imports.h +++ b/src/mesa/main/imports.h @@ -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 /*@}*/ |