aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorShih-wei Liao <sliao@google.com>2012-05-11 15:40:40 -0700
committerShih-wei Liao <sliao@google.com>2012-05-11 21:53:30 -0700
commite177e2144ea8bfc5dd1831167db9e1ae71be240e (patch)
tree7e5d60fb6f1258a1b8813cde2fbaf0c562a1730e /host
parente2e355b869b9e4fa541bf6f4d7a0f492c1978269 (diff)
downloadexternal_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.h5
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