From 444ab6311b5e5c19bd65de4f29b876fb9d3124a4 Mon Sep 17 00:00:00 2001 From: Sasha Szpakowski Date: Sat, 9 Dec 2023 19:41:52 -0400 Subject: [PATCH] Workaround for Windows 7 runtime compatibility --- extra/windows/love.rc | Bin 3632 -> 3636 bytes .../physfs/physfs_platform_windows.c | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/extra/windows/love.rc b/extra/windows/love.rc index edbf420cb303947dabab2dba30038be450e77e8a..7dc098655129b7a1c6118519d8e7496eaf0b8c6c 100644 GIT binary patch delta 22 dcmdlWvqffu8Vjo)gCT>`PIH~~1P1-t+N diff --git a/src/libraries/physfs/physfs_platform_windows.c b/src/libraries/physfs/physfs_platform_windows.c index 652300c9a..b95b06472 100644 --- a/src/libraries/physfs/physfs_platform_windows.c +++ b/src/libraries/physfs/physfs_platform_windows.c @@ -123,7 +123,7 @@ static inline HANDLE winCreateFileW(const WCHAR *wfname, const DWORD mode, const DWORD creation) { const DWORD share = FILE_SHARE_READ | FILE_SHARE_WRITE; - #if defined(PHYSFS_PLATFORM_WINRT) || (_WIN32_WINNT >= 0x0602) // Windows 8+ + #if defined(PHYSFS_PLATFORM_WINRT) /*|| (_WIN32_WINNT >= 0x0602)*/ // Windows 8+ return CreateFile2(wfname, mode, share, creation, NULL); #else return CreateFileW(wfname, mode, share, NULL, creation,