aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2017-10-31 20:53:42 -0700
committerElliott Hughes <enh@google.com>2017-10-31 20:53:42 -0700
commitecafb12e91168a7e3f2701936629365d2325d372 (patch)
treeb2ee4bb8f16216a33fd4eae2acaf7a2edd6a5f8f
parent20da257d3834dfcc1e9477744b803cc957c3efe8 (diff)
downloadvalgrind-ecafb12e91168a7e3f2701936629365d2325d372.tar.gz
bionic now has ElfXX_Chdr...
...but our prebuilt glibc (2.15) still doesn't. Bug: N/A Test: builds Change-Id: I8047350d3a4df4a2fba0849699bc66b25633eadc
-rw-r--r--config.h8
1 files 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 <endian.h> header file. */
#define HAVE_ENDIAN_H 1