android: Always define __STDC_LIMIT_MACROS.
authorMauro Rossi <issor.oruam@gmail.com>
Fri, 21 Aug 2015 21:46:29 +0000 (23:46 +0200)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 9 Sep 2015 14:26:46 +0000 (15:26 +0100)
Analogous to commit 02a4fe22b13 (configure.ac: Always define
__STDC_LIMIT_MACROS.)

v2: [Emil Velikov] keep the LLVM specific __STDC_FORMAT_MACROS

Cc: 11.0 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Android.common.mk

index f7556d7364f1d207326f09db5ff2c3c1ce04a16b..948561c6b1b4415aed97e90f5874cff86497f2b3 100644 (file)
@@ -42,6 +42,7 @@ LOCAL_CFLAGS += \
        -DANDROID_VERSION=0x0$(MESA_ANDROID_MAJOR_VERSION)0$(MESA_ANDROID_MINOR_VERSION)
 
 LOCAL_CFLAGS += \
+       -D__STDC_LIMIT_MACROS \
        -DHAVE___BUILTIN_EXPECT \
        -DHAVE___BUILTIN_FFS \
        -DHAVE___BUILTIN_FFSLL \