Skip to content

Commit

Permalink
libretro: Allow using EDQUOT or WSAEDQUOT
Browse files Browse the repository at this point in the history
  • Loading branch information
RobLoach committed May 18, 2024
1 parent 83866f3 commit 733d6c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/physfs_platform_libretro.c
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,11 @@ static PHYSFS_ErrorCode errcodeFromErrnoError(const int err)
case 0: return PHYSFS_ERR_OK;
case EACCES: return PHYSFS_ERR_PERMISSION;
case EPERM: return PHYSFS_ERR_PERMISSION;
#if defined(EDQUOT)
case EDQUOT: return PHYSFS_ERR_NO_SPACE;
#elif defined(WSAEDQUOT)
case WSAEDQUOT: return PHYSFS_ERR_NO_SPACE;
#endif
case EIO: return PHYSFS_ERR_IO;
case ELOOP: return PHYSFS_ERR_SYMLINK_LOOP;
case EMLINK: return PHYSFS_ERR_NO_SPACE;
Expand Down

0 comments on commit 733d6c3

Please sign in to comment.