Przeglądaj źródła

Patched to compile on Windows.

Ryan C. Gordon 8 lat temu
rodzic
commit
bae1f440ba
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/platform_windows.c

+ 1 - 1
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 */