summaryrefslogtreecommitdiff
path: root/src/win32
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-06-05 13:56:44 +0200
committernulltoken <emeric.fermas@gmail.com>2012-06-05 14:01:44 +0200
commitfac66990b6ed5173ae89458f32d456458c086b1a (patch)
treedb002251b5dc5b9e48046f6d89863cd000084871 /src/win32
parent01dbe273c9b6f86a613b67cee27212cf4bacf4c0 (diff)
downloadlibgit2-fac66990b6ed5173ae89458f32d456458c086b1a.tar.gz
repository: make git_repository_init() value the core.filemode config entry
Diffstat (limited to 'src/win32')
-rw-r--r--src/win32/msvc-compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/win32/msvc-compat.h b/src/win32/msvc-compat.h
index 3ef09c85b..ccc091cd0 100644
--- a/src/win32/msvc-compat.h
+++ b/src/win32/msvc-compat.h
@@ -21,6 +21,7 @@
/* stat: file mode type testing macros */
# define _S_IFLNK 0120000
# define S_IFLNK _S_IFLNK
+# define S_IXUSR 00100
# define S_ISDIR(m) (((m) & _S_IFMT) == _S_IFDIR)
# define S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG)