Merge pull request #1743 from mattsta/cygwin-compile-fix

Cygwin compile fix
This commit is contained in:
Salvatore Sanfilippo
2014-06-09 11:42:14 +02:00
2 changed files with 10 additions and 0 deletions

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.