Преглед изворни кода

Patched to compile on Windows.

Ryan C. Gordon пре 8 година
родитељ
комит
bae1f440ba
1 измењених фајлова са 1 додато и 1 уклоњено
  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 */