Browse Source

Patched to compile on Windows.

Ryan C. Gordon 8 năm trước cách đây
mục cha
commit
bae1f440ba
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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...? */
         return 0;  /* ...maybe the file just vanished...? */
 
 
     FindClose(h);
     FindClose(h);
-    return (w32dw.dwReserved == PHYSFS_IO_REPARSE_TAG_SYMLINK);
+    return (w32dw.dwReserved0 == PHYSFS_IO_REPARSE_TAG_SYMLINK);
 } /* isSymlink */
 } /* isSymlink */