mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 15:32:59 +00:00
Don't rely on ENOSPC - relies on errno.h
This commit is contained in:
parent
2f3821ffc8
commit
f6c2e4d292
@ -710,10 +710,6 @@ static enum patch_error xdelta_apply_patch(
|
||||
{
|
||||
case 0: /* Success */
|
||||
break;
|
||||
case ENOSPC:
|
||||
error_patch = PATCH_TARGET_ALLOC_FAILED;
|
||||
free(*targetdata);
|
||||
goto cleanup_stream;
|
||||
default:
|
||||
error_patch = PATCH_UNKNOWN;
|
||||
free(*targetdata);
|
||||
|
Loading…
x
Reference in New Issue
Block a user