提交 4d3c278c 编写于 作者: R Richard Levitte

The Cygwin gcc doesn't define _WIN32, don't pretend it does

Reviewed-by: NAndy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5060)
上级 6ce66ce0
......@@ -105,7 +105,7 @@ void OPENSSL_cpuid_setup(void)
}
#endif
#if defined(_WIN32) && !defined(__CYGWIN__)
#if defined(_WIN32)
# include <tchar.h>
# include <signal.h>
# ifdef __WATCOMC__
......@@ -320,7 +320,7 @@ void OPENSSL_die(const char *message, const char *file, int line)
{
OPENSSL_showfatal("%s:%d: OpenSSL internal error: %s\n",
file, line, message);
#if !defined(_WIN32) || defined(__CYGWIN__)
#if !defined(_WIN32)
abort();
#else
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册