As long as it still builds, this change looks good to me.

Reviewed-by: Ian Romanick <ian.d.roman...@intel.com>

On 05/23/2017 12:49 PM, Rob Herring wrote:
> 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__
> 

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

Reply via email to