diff options
author | José Fonseca <[email protected]> | 2008-08-19 21:33:59 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-08-19 21:35:06 +0100 |
commit | 9e3aaa50483b61d644306d483feed564c69018bf (patch) | |
tree | f7613eb974f7dc87a7f3ef13593a220884f59300 /src/gallium/auxiliary | |
parent | d7f8b95e097121a8c33332f920115795853d6ad7 (diff) |
gallium: WinCE build fixes.
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/util/u_snprintf.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_snprintf.c b/src/gallium/auxiliary/util/u_snprintf.c index 7fa84d8bec6..0d54299b28a 100644 --- a/src/gallium/auxiliary/util/u_snprintf.c +++ b/src/gallium/auxiliary/util/u_snprintf.c @@ -334,6 +334,15 @@ static void *mymemcpy(void *, void *, size_t); #endif /* HAVE_UINTPTR_T || defined(uintptr_t) */ #endif /* !defined(UINTPTR_T) */ +/* WinCE5.0 does not have uintptr_t defined */ +#if (_WIN32_WCE < 600) +#ifdef UINTPTR_T +#undef UINTPTR_T +#endif +#define UINTPTR_T unsigned long int +#endif + + /* Support for ptrdiff_t. */ #ifndef PTRDIFF_T #if HAVE_PTRDIFF_T || defined(ptrdiff_t) |