aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--autoconf/configure.ac2
-rwxr-xr-xconfigure3
-rw-r--r--include/Config/config.h.in3
-rw-r--r--include/llvm/Config/config.h.in3
4 files changed, 9 insertions, 2 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 464336e..0e9e318 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -233,7 +233,7 @@ AC_HEADER_STDC
AC_HEADER_SYS_WAIT
dnl Checks for POSIX and other various system-specific header files
-AC_CHECK_HEADERS(fcntl.h limits.h sys/time.h unistd.h malloc.h sys/mman.h sys/resource.h dlfcn.h link.h execinfo.h)
+AC_CHECK_HEADERS(fcntl.h limits.h sys/time.h unistd.h malloc.h sys/mman.h sys/resource.h dlfcn.h link.h execinfo.h windows.h)
dnl Check for things that need to be included in public headers, and so
dnl for which we may not have access to a HAVE_* preprocessor #define.
diff --git a/configure b/configure
index e2721f1..bc51db0 100755
--- a/configure
+++ b/configure
@@ -18917,7 +18917,8 @@ fi
-for ac_header in fcntl.h limits.h sys/time.h unistd.h malloc.h sys/mman.h sys/resource.h dlfcn.h link.h execinfo.h
+
+for ac_header in fcntl.h limits.h sys/time.h unistd.h malloc.h sys/mman.h sys/resource.h dlfcn.h link.h execinfo.h windows.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
diff --git a/include/Config/config.h.in b/include/Config/config.h.in
index 9f35aca..1b396fe 100644
--- a/include/Config/config.h.in
+++ b/include/Config/config.h.in
@@ -131,6 +131,9 @@
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
+/* Define to have the <windows.h> header file. */
+#undef HAVE_WINDOWS_H
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
diff --git a/include/llvm/Config/config.h.in b/include/llvm/Config/config.h.in
index 9f35aca..1b396fe 100644
--- a/include/llvm/Config/config.h.in
+++ b/include/llvm/Config/config.h.in
@@ -131,6 +131,9 @@
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
+/* Define to have the <windows.h> header file. */
+#undef HAVE_WINDOWS_H
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT