[Mesa-dev] [PATCH 5/5] util: remove unneeded Android ifdef from ralloc.c

Rob Herring robh at kernel.org
Tue May 23 19:49:33 UTC 2017


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

Signed-off-by: Rob Herring <robh at 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



More information about the mesa-dev mailing list