mirror of
https://github.com/yrutschle/sslh.git
synced 2025-04-13 07:37:15 +03:00
For MacOS, do not have multiple identicat cases in switch
This commit is contained in:
parent
1957be1dc3
commit
58783af410
@ -167,11 +167,7 @@ void set_listen_procname(struct listen_endpoint *listen_socket)
|
|||||||
/* At least MacOS does not know these two options, so define them to something
|
/* At least MacOS does not know these two options, so define them to something
|
||||||
* equivalent for our use case */
|
* equivalent for our use case */
|
||||||
#ifndef ENONET
|
#ifndef ENONET
|
||||||
#define ENONET ENETDOWN
|
#define ENONET EWOULDBLOCK
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef EOPNOTSUPP
|
|
||||||
#define EOPNOTSUPP ENETDOWN
|
|
||||||
#endif
|
#endif
|
||||||
/* /MacOS kludge */
|
/* /MacOS kludge */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user