From bae1f440ba98319692aec5cf13ea358fbc052737 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sun, 9 Jul 2017 15:03:12 -0400 Subject: [PATCH] Patched to compile on Windows. --- src/platform_windows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform_windows.c b/src/platform_windows.c index 5c6b01c..96a09a6 100644 --- a/src/platform_windows.c +++ b/src/platform_windows.c @@ -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 */