SIZE_MAX has been defined in stdint.h on Android since 2013, so this ifdef
is no longer needed.

Signed-off-by: Rob Herring <r...@kernel.org>
---
 src/util/ralloc.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/util/ralloc.c b/src/util/ralloc.c
index 7bf192e0db78..cf2662f1db6e 100644
--- a/src/util/ralloc.c
+++ b/src/util/ralloc.c
@@ -28,11 +28,6 @@
 #include <string.h>
 #include <stdint.h>
 
-/* Android defines SIZE_MAX in limits.h, instead of the standard stdint.h */
-#ifdef ANDROID
-#include <limits.h>
-#endif
-
 /* Some versions of MinGW are missing _vscprintf's declaration, although they
  * still provide the symbol in the import library. */
 #ifdef __MINGW32__
-- 
2.11.0

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to