gio: Add G_IO_ERROR_DESTINATION_UNSET

...and map EDESTADDRREQ to it.

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
This commit is contained in:
Sergey Bugaev
2023-11-06 15:01:13 +03:00
parent 734f8184e8
commit 6b7b211338
4 changed files with 10 additions and 2 deletions

View File

@@ -228,6 +228,12 @@ g_io_error_from_errno (gint err_no)
break;
#endif
#ifdef EDESTADDRREQ
case EDESTADDRREQ:
return G_IO_ERROR_DESTINATION_UNSET;
break;
#endif
#ifdef EMSGSIZE
case EMSGSIZE:
return G_IO_ERROR_MESSAGE_TOO_LARGE;