From f82163b01260edf2c1bf6905846f74bf001d7139 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 24 Aug 2010 08:04:37 -0600 Subject: [PATCH] mesa: added isblank() for MSVC --- src/mesa/main/imports.h | 1 + 1 file changed, 1 insertion(+) 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 /*@}*/ -- 2.30.2