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
hiredis
Commits
18fc12c3
Unverified
Commit
18fc12c3
authored
Jul 20, 2020
by
Michael Grunder
Committed by
GitHub
Jul 20, 2020
Browse files
Move include to sockcompat.h to maintain style (#850)
See #848
parent
43aeabbb
Changes
2
Hide whitespace changes
Inline
Side-by-side
sockcompat.c
View file @
18fc12c3
...
...
@@ -32,7 +32,6 @@
#include "sockcompat.h"
#ifdef _WIN32
#include <errno.h>
static
int
_wsaErrorToErrno
(
int
err
)
{
switch
(
err
)
{
case
WSAEWOULDBLOCK
:
...
...
sockcompat.h
View file @
18fc12c3
...
...
@@ -49,6 +49,7 @@
#include <winsock2.h>
#include <ws2tcpip.h>
#include <stddef.h>
#include <errno.h>
#ifdef _MSC_VER
typedef
long
long
ssize_t
;
...
...
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