Explorar o código

Patched to compile on Windows.

Ryan C. Gordon %!s(int64=9) %!d(string=hai) anos
pai
achega
bae1f440ba
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 */