summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-09-21 22:57:10 -0700
committerMatt Turner <[email protected]>2014-09-24 09:58:43 -0700
commit9499d6e358786f1ed3ed79e16fd301106cd08ddd (patch)
tree390b73586218ec98e4a6ffc6b7cafce6d4cb5a35 /src/gallium
parentd20015a576ff1b8c1458264fd896fd2246cd3d1d (diff)
mesa: Unifdef _WIN32_WCE.
Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Jose Fonseca <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/util/u_snprintf.c9
-rw-r--r--src/gallium/state_trackers/egl/x11/glcore.h2
2 files changed, 0 insertions, 11 deletions
diff --git a/src/gallium/auxiliary/util/u_snprintf.c b/src/gallium/auxiliary/util/u_snprintf.c
index a24b6ff38db..7a2bf2a6f78 100644
--- a/src/gallium/auxiliary/util/u_snprintf.c
+++ b/src/gallium/auxiliary/util/u_snprintf.c
@@ -334,15 +334,6 @@ 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)
diff --git a/src/gallium/state_trackers/egl/x11/glcore.h b/src/gallium/state_trackers/egl/x11/glcore.h
index 547b1113707..99de6c097f4 100644
--- a/src/gallium/state_trackers/egl/x11/glcore.h
+++ b/src/gallium/state_trackers/egl/x11/glcore.h
@@ -31,9 +31,7 @@
* Silicon Graphics, Inc.
*/
-#if !defined(_WIN32_WCE)
#include <sys/types.h>
-#endif
#define GL_CORE_SGI 1
#define GL_CORE_MESA 2