From ecafb12e91168a7e3f2701936629365d2325d372 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 31 Oct 2017 20:53:42 -0700 Subject: bionic now has ElfXX_Chdr... ...but our prebuilt glibc (2.15) still doesn't. Bug: N/A Test: builds Change-Id: I8047350d3a4df4a2fba0849699bc66b25633eadc --- config.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/config.h b/config.h index 858b44788..a5caf4983 100644 --- a/config.h +++ b/config.h @@ -95,10 +95,14 @@ #endif /* Define to 1 if the system has the type `Elf32_Chdr'. */ -//#define HAVE_ELF32_CHDR 1 +#ifdef __ANDROID__ +#define HAVE_ELF32_CHDR 1 +#endif /* Define to 1 if the system has the type `Elf64_Chdr'. */ -//#define HAVE_ELF64_CHDR 1 +#ifdef __ANDROID__ +#define HAVE_ELF64_CHDR 1 +#endif /* Define to 1 if you have the header file. */ #define HAVE_ENDIAN_H 1 -- cgit v1.2.3