Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
65b472ac
Commit
65b472ac
authored
Dec 23, 2010
by
Pieter Noordhuis
Browse files
Solaris 10 doesn't know AF_LOCAL
parent
ba559326
Changes
1
Show whitespace changes
Inline
Side-by-side
src/anet.h
View file @
65b472ac
...
@@ -35,6 +35,10 @@
...
@@ -35,6 +35,10 @@
#define ANET_ERR -1
#define ANET_ERR -1
#define ANET_ERR_LEN 256
#define ANET_ERR_LEN 256
#if defined(__sun)
#define AF_LOCAL AF_UNIX
#endif
int
anetTcpConnect
(
char
*
err
,
char
*
addr
,
int
port
);
int
anetTcpConnect
(
char
*
err
,
char
*
addr
,
int
port
);
int
anetTcpNonBlockConnect
(
char
*
err
,
char
*
addr
,
int
port
);
int
anetTcpNonBlockConnect
(
char
*
err
,
char
*
addr
,
int
port
);
int
anetUnixConnect
(
char
*
err
,
char
*
path
);
int
anetUnixConnect
(
char
*
err
,
char
*
path
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment