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
08c73636
Commit
08c73636
authored
Jun 09, 2014
by
Salvatore Sanfilippo
Browse files
Merge pull request #1743 from mattsta/cygwin-compile-fix
Cygwin compile fix
parents
c7f93143
7c4decb1
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/debug.c
View file @
08c73636
...
...
@@ -41,6 +41,12 @@
#include "bio.h"
#endif
/* HAVE_BACKTRACE */
#ifdef __CYGWIN__
#ifndef SA_ONSTACK
#define SA_ONSTACK 0x08000000
#endif
#endif
/* ================================= Debugging ============================== */
/* Compute the sha1 of string at 's' with 'len' bytes long.
...
...
src/object.c
View file @
08c73636
...
...
@@ -32,6 +32,10 @@
#include <math.h>
#include <ctype.h>
#ifdef __CYGWIN__
#define strtold(a,b) ((long double)strtod((a),(b)))
#endif
robj
*
createObject
(
int
type
,
void
*
ptr
)
{
robj
*
o
=
zmalloc
(
sizeof
(
*
o
));
o
->
type
=
type
;
...
...
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