mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 08:00:49 +00:00
Solaris 10 doesn't know AF_LOCAL
This commit is contained in:
parent
ba55932674
commit
65b472acce
@ -35,6 +35,10 @@
|
||||
#define ANET_ERR -1
|
||||
#define ANET_ERR_LEN 256
|
||||
|
||||
#if defined(__sun)
|
||||
#define AF_LOCAL AF_UNIX
|
||||
#endif
|
||||
|
||||
int anetTcpConnect(char *err, char *addr, int port);
|
||||
int anetTcpNonBlockConnect(char *err, char *addr, int port);
|
||||
int anetUnixConnect(char *err, char *path);
|
||||
|
Loading…
x
Reference in New Issue
Block a user