diff options
author | Logan Chien <loganchien@google.com> | 2012-05-10 14:18:05 +0800 |
---|---|---|
committer | Logan Chien <loganchien@google.com> | 2012-05-10 14:19:11 +0800 |
commit | 3b53a8f9b0d6ef490effa08104301fb6aa341765 (patch) | |
tree | 9a4584f59c27945d950b780b695ff432393538e0 /host | |
parent | 25cfae268a7557246cffec2e4793113e38b4da94 (diff) | |
download | external_llvm-3b53a8f9b0d6ef490effa08104301fb6aa341765.zip external_llvm-3b53a8f9b0d6ef490effa08104301fb6aa341765.tar.gz external_llvm-3b53a8f9b0d6ef490effa08104301fb6aa341765.tar.bz2 |
Fix Win SDK build after changing config.h
Change-Id: Ie21425f90d11e065e5a38b7fd16d1488a77e5873
Diffstat (limited to 'host')
-rw-r--r-- | host/include/llvm/Config/config.h | 15 |
1 files changed, 15 insertions, 0 deletions
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 <stdlib.h> */ #define HAVE_RAND48 1 @@ -468,11 +474,20 @@ /* Define to 1 if you have the <valgrind/valgrind.h> header file. */ /* #undef HAVE_VALGRIND_VALGRIND_H */ +#if defined(_WIN32) || defined(_WIN64) +/* Define to 1 if you have the <windows.h> 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 <windows.h> 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 */ |