mirror of
https://github.com/yrutschle/sslh.git
synced 2025-04-12 15:17:14 +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
|
||||
* equivalent for our use case */
|
||||
#ifndef ENONET
|
||||
#define ENONET ENETDOWN
|
||||
#endif
|
||||
|
||||
#ifndef EOPNOTSUPP
|
||||
#define EOPNOTSUPP ENETDOWN
|
||||
#define ENONET EWOULDBLOCK
|
||||
#endif
|
||||
/* /MacOS kludge */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user