diff options
author | Shih-wei Liao <sliao@google.com> | 2012-05-11 15:40:40 -0700 |
---|---|---|
committer | Shih-wei Liao <sliao@google.com> | 2012-05-11 21:53:30 -0700 |
commit | e177e2144ea8bfc5dd1831167db9e1ae71be240e (patch) | |
tree | 7e5d60fb6f1258a1b8813cde2fbaf0c562a1730e /host | |
parent | e2e355b869b9e4fa541bf6f4d7a0f492c1978269 (diff) | |
download | external_llvm-e177e2144ea8bfc5dd1831167db9e1ae71be240e.zip external_llvm-e177e2144ea8bfc5dd1831167db9e1ae71be240e.tar.gz external_llvm-e177e2144ea8bfc5dd1831167db9e1ae71be240e.tar.bz2 |
Fix HAVE_SYS_UIO_H configuration on Mac build.
Darwin-x86 has sys/uio.h. It's already configured in system/core.
Change-Id: Ia0791b2e5dbe1c0bfde7d5f74198580c855b5bee
Diffstat (limited to 'host')
-rw-r--r-- | host/include/llvm/Config/config.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/host/include/llvm/Config/config.h b/host/include/llvm/Config/config.h index 9477801..090f373 100644 --- a/host/include/llvm/Config/config.h +++ b/host/include/llvm/Config/config.h @@ -455,9 +455,14 @@ /* Define to 1 if you have the <sys/types.h> header file. */ #define HAVE_SYS_TYPES_H 1 +/* Already defined in system/core/include/arch/darwin-x86/AndroidConfig.h */ +#if !defined(HAVE_SYS_UIO_H) + /* Define to 1 if you have the <sys/uio.h> header file. */ #define HAVE_SYS_UIO_H 1 +#endif + /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */ #define HAVE_SYS_WAIT_H 1 |