diff options
author | Aras Pranckevicius <[email protected]> | 2010-08-25 10:07:14 +0300 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-08-25 09:21:10 -0600 |
commit | 653ddaab2636764b9e7999fa39b37edde7fe7c6d (patch) | |
tree | 9ed0e488ecc9496ae2f4a6e362555be1b6ac37b8 /src/mesa/main/imports.h | |
parent | f301932dba4cc75e810e0c051e39247128a899fc (diff) |
glsl/mesa: fixes for MSVC
Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/imports.h')
-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 cb35885dbd9..317e2b7df02 100644 --- a/src/mesa/main/imports.h +++ b/src/mesa/main/imports.h @@ -148,6 +148,7 @@ 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'; } +#define strtoll(p, e, b) _strtoi64(p, e, b) #endif /*@}*/ |