summaryrefslogtreecommitdiff
path: root/src/os_win32.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-09-25 19:13:38 +0200
committerBram Moolenaar <Bram@vim.org>2013-09-25 19:13:38 +0200
commit2ee95f7d13566ba393ed70bd4401e7164b0cc2f9 (patch)
tree9ccfd8c005d3a370675290c759f4dad4ffa4afb3 /src/os_win32.h
parent134bf07ca0e28addeeb67edc4fceeba00388d7fc (diff)
downloadvim-git-2ee95f7d13566ba393ed70bd4401e7164b0cc2f9.tar.gz
updated for version 7.4.039v7.4.039
Problem: MS-Windows: MSCV10 and earlier can't handle symlinks to a directory properly. Solution: Add stat_symlink_aware() and wstat_symlink_aware(). (Ken Takata)
Diffstat (limited to 'src/os_win32.h')
-rw-r--r--src/os_win32.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/os_win32.h b/src/os_win32.h
index 58b179ff8..29fe5e4fb 100644
--- a/src/os_win32.h
+++ b/src/os_win32.h
@@ -130,6 +130,19 @@
# define DFLT_MAXMEMTOT (5*1024) /* use up to 5 Mbyte for Vim */
#endif
+/*
+ * Reparse Point
+ */
+#ifndef FILE_ATTRIBUTE_REPARSE_POINT
+# define FILE_ATTRIBUTE_REPARSE_POINT 0x00000400
+#endif
+#ifndef IO_REPARSE_TAG_MOUNT_POINT
+# define IO_REPARSE_TAG_MOUNT_POINT 0xA0000003
+#endif
+#ifndef IO_REPARSE_TAG_SYMLINK
+# define IO_REPARSE_TAG_SYMLINK 0xA000000C
+#endif
+
#if defined(_MSC_VER) || defined(__BORLANDC__)
/* Support for __try / __except. All versions of MSVC and Borland C are
* expected to have this. Any other compilers that support it? */