Patched to compile on Windows.

This commit is contained in:
Ryan C. Gordon 2017-07-09 15:03:12 -04:00
parent 84231feb0f
commit bae1f440ba
1 changed files with 1 additions and 1 deletions

View File

@ -887,7 +887,7 @@ static int isSymlink(const WCHAR *wpath, const DWORD attr)
return 0; /* ...maybe the file just vanished...? */
FindClose(h);
return (w32dw.dwReserved == PHYSFS_IO_REPARSE_TAG_SYMLINK);
return (w32dw.dwReserved0 == PHYSFS_IO_REPARSE_TAG_SYMLINK);
} /* isSymlink */