android: always set __STDC_*_MACROS for C++ sources
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 26 Jan 2017 13:24:02 +0000 (13:24 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 27 Jan 2017 17:56:57 +0000 (17:56 +0000)
commit13e2928d57fc974158dd3e5cf74ac32dfa8ca622
tree9fe25ea287a411a30606aee72e6ce45de0d89bc1
parentc4862fa382ff88bd9568be2dba14052c8e51a07f
android: always set __STDC_*_MACROS for C++ sources

Various parts of the code depend on the macros being defined.

Just set those unconditionally, only where needed (c++ sources) so that
we can drop the workarounds through the code.

Cc: Rob Herring <robh@kernel.org>
Cc: Chih-Wei Huang <cwhuang@android-x86.org>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Android.common.mk