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
052f99ab
Commit
052f99ab
authored
Jun 05, 2023
by
windyakin
Committed by
Michael Grunder
Jun 08, 2023
Browse files
Ensure functionality without _MSC_VER definition
parent
ded32c7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
test.c
View file @
052f99ab
...
...
@@ -78,7 +78,7 @@ static int tests = 0, fails = 0, skips = 0;
static
void
millisleep
(
int
ms
)
{
#if _MSC_VER
#if
def
_MSC_VER
Sleep
(
ms
);
#else
usleep
(
ms
*
1000
);
...
...
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