summaryrefslogtreecommitdiff
path: root/src/glsl/ralloc.c
diff options
context:
space:
mode:
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