mirror of
https://github.com/ish-app/ish.git
synced 2026-02-01 14:32:26 +00:00
Handle ENOTSUP separately when it's different from EOPNOTSUPP
This commit is contained in:
parent
b62fe8f256
commit
f0d770bef4
@ -67,6 +67,9 @@ int err_map(int err) {
|
||||
ERRCASE(EPROTONOSUPPORT)
|
||||
ERRCASE(ESOCKTNOSUPPORT)
|
||||
ERRCASE(EOPNOTSUPP)
|
||||
#if EOPNOTSUPP != ENOTSUP
|
||||
ERRCASE(ENOTSUP)
|
||||
#endif
|
||||
ERRCASE(EPFNOSUPPORT)
|
||||
ERRCASE(EAFNOSUPPORT)
|
||||
ERRCASE(EADDRINUSE)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user