On win32, process.h provides some of the traditional stuff that unistd
authorChris Lattner <sabre@nondot.org>
Tue, 1 Jun 2004 23:47:00 +0000 (23:47 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 1 Jun 2004 23:47:00 +0000 (23:47 +0000)
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

include/Config/unistd.h
include/llvm/Config/unistd.h

index 5b621a6b76225e383f84c9581de0d544a1d8fac8..e9ca783e83df6c32830b5b4cab126b58095cafa0 100644 (file)
@@ -20,4 +20,8 @@
 #include <unistd.h>
 #endif
 
+#ifdef _WIN32
+#include <process.h>
+#endif
+
 #endif
index 5b621a6b76225e383f84c9581de0d544a1d8fac8..e9ca783e83df6c32830b5b4cab126b58095cafa0 100644 (file)
@@ -20,4 +20,8 @@
 #include <unistd.h>
 #endif
 
+#ifdef _WIN32
+#include <process.h>
+#endif
+
 #endif