Skip to content

Commit

Permalink
Workaround for Windows 7 runtime compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
slime73 committed Dec 9, 2023
1 parent 6eb8d54 commit 444ab63
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified extra/windows/love.rc
Binary file not shown.
2 changes: 1 addition & 1 deletion src/libraries/physfs/physfs_platform_windows.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 444ab63

Please sign in to comment.