diff options
author | Chris Lattner <sabre@nondot.org> | 2004-06-01 23:47:00 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-06-01 23:47:00 +0000 |
commit | 6db8c2c5ca0c28e95acfb276f383fa45459044ae (patch) | |
tree | 44e3dfb5c40b934172735b16be14f9e631c5e4fb | |
parent | aec5f26d9789f365027eaccc7d766a40e02dbe3b (diff) | |
download | external_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.h | 4 | ||||
-rw-r--r-- | include/llvm/Config/unistd.h | 4 |
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 |