summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;