Commit 2af24143 authored by Matt Stancliff's avatar Matt Stancliff Committed by antirez
Browse files

Fix lack of SA_ONSTACK under Cygwin

Fixes #232
parent b4f9761d
...@@ -41,6 +41,12 @@ ...@@ -41,6 +41,12 @@
#include "bio.h" #include "bio.h"
#endif /* HAVE_BACKTRACE */ #endif /* HAVE_BACKTRACE */
#ifdef __CYGWIN__
#ifndef SA_ONSTACK
#define SA_ONSTACK 0x08000000
#endif
#endif
/* ================================= Debugging ============================== */ /* ================================= Debugging ============================== */
/* Compute the sha1 of string at 's' with 'len' bytes long. /* Compute the sha1 of string at 's' with 'len' bytes long.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment