diff options
-rw-r--r-- | Android.bp | 3 | ||||
-rw-r--r-- | host/include/llvm/Config/config.h | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp index 0302e6593017..a29a38a3c184 100644 --- a/Android.bp +++ b/Android.bp @@ -100,6 +100,9 @@ cc_library_headers { host: { export_include_dirs: ["host/include"], }, + linux_bionic: { + enabled: true, + }, windows: { enabled: true, }, diff --git a/host/include/llvm/Config/config.h b/host/include/llvm/Config/config.h index 408b8a5c5aa5..9563335abbd7 100644 --- a/host/include/llvm/Config/config.h +++ b/host/include/llvm/Config/config.h @@ -115,7 +115,9 @@ #define HAVE_ERROR_T 1 /* Define to 1 if you have the <execinfo.h> header file. */ +#ifndef __BIONIC__ #define HAVE_EXECINFO_H 1 +#endif /* Define to 1 if you have the <fcntl.h> header file. */ #define HAVE_FCNTL_H 1 @@ -309,7 +311,9 @@ #define HAVE_OPENDIR 1 /* Define to 1 if you have the `posix_spawn' function. */ +#ifndef __BIONIC__ #define HAVE_POSIX_SPAWN 1 +#endif /* Define to 1 if you have the `powf' function. */ #define HAVE_POWF 1 @@ -485,7 +489,9 @@ #define HAVE_SYS_WAIT_H 1 /* Define if the setupterm() function is supported this platform. */ +#ifndef __BIONIC__ #define HAVE_TERMINFO 1 +#endif /* Define to 1 if you have the <termios.h> header file. */ #define HAVE_TERMIOS_H 1 |