Use POSIX functions on Cygwin, not Win32 function

Signed-off-by: Corinna Vinschen <vinschen@redhat.com>

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
Corinna Vinschen
2016-01-16 19:30:48 +01:00
committed by Richard Levitte
parent 23d526eca9
commit 8d35ceb98f
5 changed files with 6 additions and 14 deletions

View File

@@ -55,7 +55,7 @@
* This is the same detection used in cryptlib to set up the thread local
* storage that we depend on, so just copy that
*/
#if defined(_WIN32) || defined(__CYGWIN__)
#if defined(_WIN32)
#include <openssl/async.h>
# define ASYNC_WIN
# define ASYNC_ARCH