diff options
author | Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> | 2013-11-13 15:10:05 +0100 |
---|---|---|
committer | Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> | 2013-11-13 15:10:05 +0100 |
commit | 76d382ce143f4516af435aeb209ce6d83a295bd2 (patch) | |
tree | 007deb517e063b7419f77fa4f4b5a458c2104332 | |
parent | 32d84d016ce1a89b591ae058c2a31c245ecb6a3b (diff) | |
download | tools_for_pm-qa-76d382ce143f4516af435aeb209ce6d83a295bd2.tar.gz |
tools_for_pm-qa: Fix build with Android 4.4
Bionic 4.4 implements an extra function warn() -- that conflicts
with bc's function with the same name.
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
-rw-r--r-- | bc/config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bc/config.h b/bc/config.h index 7d89955..ddaad98 100644 --- a/bc/config.h +++ b/bc/config.h @@ -1,6 +1,9 @@ /* config.h. Generated by configure. */ /* config.h.in. Generated from configure.in by autoheader. */ +/* Bionic has a warn() function, and it's not the one bc wants */ +#define warn bc_warn + /* Define the bc copyright line. */ #define BC_COPYRIGHT "Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006 Free Software Foundation, Inc." |