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
"vscode:/vscode.git/clone" did not exist on "36fc3210967c839884bea8e2f90a4bdf180c89a2"
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 @@
...
@@ -32,7 +32,6 @@
#include "sockcompat.h"
#include "sockcompat.h"
#ifdef _WIN32
#ifdef _WIN32
#include <errno.h>
static
int
_wsaErrorToErrno
(
int
err
)
{
static
int
_wsaErrorToErrno
(
int
err
)
{
switch
(
err
)
{
switch
(
err
)
{
case
WSAEWOULDBLOCK
:
case
WSAEWOULDBLOCK
:
...
...
sockcompat.h
View file @
18fc12c3
...
@@ -49,6 +49,7 @@
...
@@ -49,6 +49,7 @@
#include <winsock2.h>
#include <winsock2.h>
#include <ws2tcpip.h>
#include <ws2tcpip.h>
#include <stddef.h>
#include <stddef.h>
#include <errno.h>
#ifdef _MSC_VER
#ifdef _MSC_VER
typedef
long
long
ssize_t
;
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