From e177e2144ea8bfc5dd1831167db9e1ae71be240e Mon Sep 17 00:00:00 2001 From: Shih-wei Liao Date: Fri, 11 May 2012 15:40:40 -0700 Subject: 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 --- host/include/llvm/Config/config.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'host/include/llvm/Config') 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 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 header file. */ #define HAVE_SYS_UIO_H 1 +#endif + /* Define to 1 if you have that is POSIX.1 compatible. */ #define HAVE_SYS_WAIT_H 1 -- cgit v1.1