• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1diff --git b/config.h a/config.h
2index f929481176ba..ea86194416c7 100644
3--- b/config.h
4+++ a/config.h
5@@ -29,7 +29,7 @@
6 /* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */
7
8 /* define if the compiler supports basic C++11 syntax */
9-/* #undef HAVE_CXX11 */
10+#define HAVE_CXX11 1
11
12 /* Define if the GNU dcgettext() function is already present or preinstalled.
13    */
14@@ -60,7 +60,9 @@
15 #define HAVE_DECL_STRERROR_R 1
16
17 /* Define to 1 if you have the <error.h> header file. */
18+#if defined(__BIONIC__) || defined(__GLIBC__)
19 #define HAVE_ERROR_H 1
20+#endif
21
22 /* Define to 1 if you have the <err.h> header file. */
23 #define HAVE_ERR_H 1
24@@ -69,7 +71,7 @@
25 #define HAVE_FALLTHROUGH 1
26
27 /* Defined if __attribute__((gcc_struct)) is supported */
28-#define HAVE_GCC_STRUCT 1
29+/* #undef HAVE_GCC_STRUCT */
30
31 /* Define if the GNU gettext() function is already present or preinstalled. */
32 #define HAVE_GETTEXT 1
33@@ -152,7 +154,9 @@
34 #define STDC_HEADERS 1
35
36 /* Define to 1 if strerror_r returns char *. */
37+#if defined(__GLIBC__) || defined(__BIONIC__)
38 #define STRERROR_R_CHAR_P 1
39+#endif
40
41 /* Support bzip2 decompression via -lbz2. */
42 /* #undef USE_BZLIB */
43