From 76d382ce143f4516af435aeb209ce6d83a295bd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernhard=20Rosenkr=C3=A4nzer?= Date: Wed, 13 Nov 2013 15:10:05 +0100 Subject: tools_for_pm-qa: Fix build with Android 4.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bionic 4.4 implements an extra function warn() -- that conflicts with bc's function with the same name. Signed-off-by: Bernhard Rosenkränzer --- bc/config.h | 3 +++ 1 file changed, 3 insertions(+) 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." -- cgit v1.2.3