summaryrefslogtreecommitdiff
path: root/src/glsl/ralloc.c
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-09-27 00:19:43 +0800
committerChia-I Wu <olvaffe@gmail.com>2011-03-16 20:18:39 +0800
commitc60978b2e03e6c00896306e3faeb2a84916b494c (patch)
tree585f105e989aae85920bedc50fa2e525448b6eb0 /src/glsl/ralloc.c
parent80a8e7d3d192fdd73ded886f308bb3bc25e47b29 (diff)
android: Fix build with bionic.
Diffstat (limited to 'src/glsl/ralloc.c')
-rw-r--r--src/glsl/ralloc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/ralloc.c b/src/glsl/ralloc.c
index 6a5eac6b9a..757ab5c76b 100644
--- a/src/glsl/ralloc.c
+++ b/src/glsl/ralloc.c
@@ -46,6 +46,10 @@
#endif
#endif
+#ifdef ANDROID
+#define SIZE_MAX UINT32_MAX
+#endif
+
#define CANARY 0x5A1106
struct ralloc_header