diff options
author | Chris Lattner <sabre@nondot.org> | 2004-06-04 20:03:06 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-06-04 20:03:06 +0000 |
commit | a833fca56c20ee856091bb8216dd1f82477a4bb4 (patch) | |
tree | 9354c5417a8565fdf50d510f779dca708b2f41a3 /include/Config/sys/mman.h | |
parent | 44eaf9b354bc7bda04836aa3aede93ffca136bda (diff) |
Visual C has something resembling a stat function, but it doesn't provide S_ISREG
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14016 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/Config/sys/mman.h')
-rw-r--r-- | include/Config/sys/mman.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Config/sys/mman.h b/include/Config/sys/mman.h index 191161aa90..7f51e7fbfb 100644 --- a/include/Config/sys/mman.h +++ b/include/Config/sys/mman.h @@ -20,7 +20,7 @@ #include "Config/config.h" -#ifdef HAVE_SYS_MMAN_H +#if defined(HAVE_SYS_MMAN_H) && !defined(_MSC_VER) #include <sys/mman.h> #endif |