فهرست منبع

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...? */
         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 */