summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe/p_compiler.h
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2011-08-05 12:50:12 +0900
committerChia-I Wu <olvaffe@gmail.com>2011-08-21 02:01:48 +0800
commitcd893ccba9b7e4bafbdbbb71f79d1b40bcef01a8 (patch)
tree3266a0bb835ef3151e92d1973456033fbaf2ec6d /src/gallium/include/pipe/p_compiler.h
parent31753b50f3927ab45f8442cbe687bab9cee6d3bc (diff)
downloadexternal_mesa3d-cd893ccba9b7e4bafbdbbb71f79d1b40bcef01a8.zip
external_mesa3d-cd893ccba9b7e4bafbdbbb71f79d1b40bcef01a8.tar.gz
external_mesa3d-cd893ccba9b7e4bafbdbbb71f79d1b40bcef01a8.tar.bz2
gallium: add PIPE_OS_ANDROID support
Android uses Linux kernel and its own C runtime. It resembles PIPE_OS_LINUX a lot with some minor exceptions. Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/gallium/include/pipe/p_compiler.h')
-rw-r--r--src/gallium/include/pipe/p_compiler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_compiler.h b/src/gallium/include/pipe/p_compiler.h
index 8c788f4..05de9ff 100644
--- a/src/gallium/include/pipe/p_compiler.h
+++ b/src/gallium/include/pipe/p_compiler.h
@@ -67,7 +67,9 @@ extern "C" {
#if !defined(__HAIKU__) && !defined(__USE_MISC)
+#if !defined(PIPE_OS_ANDROID)
typedef unsigned int uint;
+#endif
typedef unsigned short ushort;
#endif
typedef unsigned char ubyte;