From 3b53a8f9b0d6ef490effa08104301fb6aa341765 Mon Sep 17 00:00:00 2001 From: Logan Chien Date: Thu, 10 May 2012 14:18:05 +0800 Subject: Fix Win SDK build after changing config.h Change-Id: Ie21425f90d11e065e5a38b7fd16d1488a77e5873 --- host/include/llvm/Config/config.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'host') diff --git a/host/include/llvm/Config/config.h b/host/include/llvm/Config/config.h index c008ed2..aa090ba 100644 --- a/host/include/llvm/Config/config.h +++ b/host/include/llvm/Config/config.h @@ -288,7 +288,9 @@ #define HAVE_POWF 1 /* Define to 1 if you have the `pread' function. */ +#if !defined(_WIN32) && !defined(_WIN64) #define HAVE_PREAD 1 +#endif /* Define if libtool can extract symbol lists from object files. */ #define HAVE_PRELOADED_SYMBOLS 1 @@ -296,6 +298,8 @@ /* Define to have the %a format string */ #define HAVE_PRINTF_A 1 +#if !defined(_WIN32) && !defined(_WIN64) + /* Have pthread_getspecific */ #define HAVE_PTHREAD_GETSPECIFIC 1 @@ -308,6 +312,8 @@ /* Have pthread_rwlock_init */ #define HAVE_PTHREAD_RWLOCK_INIT 1 +#endif /* !defined(_WIN32) && !defined(_WIN64) */ + /* Define to 1 if srand48/lrand48/drand48 exist in */ #define HAVE_RAND48 1 @@ -468,11 +474,20 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_VALGRIND_VALGRIND_H */ +#if defined(_WIN32) || defined(_WIN64) +/* Define to 1 if you have the header file. */ +#define HAVE_WINDOWS_H 1 + +/* Define to 1 if you have the `writev' function. */ +/* #undef HAVE_WRITEV */ + +#else /* Define to 1 if you have the header file. */ /* #undef HAVE_WINDOWS_H */ /* Define to 1 if you have the `writev' function. */ #define HAVE_WRITEV 1 +#endif /* Define if the xdot.py program is available */ /* #undef HAVE_XDOT_PY */ -- cgit v1.1