aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-06-01 23:47:00 +0000
committerChris Lattner <sabre@nondot.org>2004-06-01 23:47:00 +0000
commit6db8c2c5ca0c28e95acfb276f383fa45459044ae (patch)
tree44e3dfb5c40b934172735b16be14f9e631c5e4fb
parentaec5f26d9789f365027eaccc7d766a40e02dbe3b (diff)
downloadexternal_llvm-6db8c2c5ca0c28e95acfb276f383fa45459044ae.tar.gz
external_llvm-6db8c2c5ca0c28e95acfb276f383fa45459044ae.tar.bz2
external_llvm-6db8c2c5ca0c28e95acfb276f383fa45459044ae.zip
On win32, process.h provides some of the traditional stuff that unistd
provides. This seems like a relatively clean way to get it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13936 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/Config/unistd.h4
-rw-r--r--include/llvm/Config/unistd.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/include/Config/unistd.h b/include/Config/unistd.h
index 5b621a6b76..e9ca783e83 100644
--- a/include/Config/unistd.h
+++ b/include/Config/unistd.h
@@ -20,4 +20,8 @@
#include <unistd.h>
#endif
+#ifdef _WIN32
+#include <process.h>
+#endif
+
#endif
diff --git a/include/llvm/Config/unistd.h b/include/llvm/Config/unistd.h
index 5b621a6b76..e9ca783e83 100644
--- a/include/llvm/Config/unistd.h
+++ b/include/llvm/Config/unistd.h
@@ -20,4 +20,8 @@
#include <unistd.h>
#endif
+#ifdef _WIN32
+#include <process.h>
+#endif
+
#endif