summaryrefslogtreecommitdiff
path: root/src/fileops.c
diff options
context:
space:
mode:
authorSebastian Schuberth <sschuberth@gmail.com>2011-06-10 13:54:47 +0200
committerSebastian Schuberth <sschuberth@gmail.com>2011-06-10 13:54:47 +0200
commit535ff384e2afe029147b89b95c9fb812c955cd7b (patch)
treebe44a2c69c293ebd5a50ba32842925c756f6ec1d /src/fileops.c
parent732eb0a8d9b5d3a217421ec61e2b2335fc5a1e36 (diff)
downloadlibgit2-535ff384e2afe029147b89b95c9fb812c955cd7b.tar.gz
Prefer to use S_IFLNK instead of _S_IFLNK for consistency
Diffstat (limited to 'src/fileops.c')
-rw-r--r--src/fileops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileops.c b/src/fileops.c
index 98fc53a50..54f6d9387 100644
--- a/src/fileops.c
+++ b/src/fileops.c
@@ -627,7 +627,7 @@ static int do_lstat(const char *file_name, struct stat *buf)
fMode |= S_IWRITE;
if (fdata.dwFileAttributes & FILE_ATTRIBUTE_REPARSE_POINT)
- fMode |= _S_IFLNK;
+ fMode |= S_IFLNK;
buf->st_ino = 0;
buf->st_gid = 0;