util: remove unneeded Android ifdef from ralloc.c
authorRob Herring <robh@kernel.org>
Tue, 23 May 2017 19:00:02 +0000 (14:00 -0500)
committerRob Herring <robh@kernel.org>
Thu, 25 May 2017 20:02:12 +0000 (15:02 -0500)
SIZE_MAX has been defined in stdint.h on Android since 2013, so this ifdef
is no longer needed.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Rob Herring <robh@kernel.org>
src/util/ralloc.c

index 953f36e6bcd97fa170fbbea9685ddc0af673d617..821ee72fe8d2dfdf67d560284c6efc14e30ecee9 100644 (file)
 #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__