Fix lack of SA_ONSTACK under Cygwin

Fixes #232
This commit is contained in:
Matt Stancliff 2014-05-12 10:56:43 -04:00
parent b252fab06c
commit 3e0e51dd9f

View File

@ -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.