提交 33cebb9c 编写于 作者: R Richard Levitte

Cygwin is POSIX, don't say it isn't

More to the point, Cygwin is a POSIX API.  In our library, the use of
a POSIX API is marked by defining the macro OPENSSL_SYS_UNIX.
Therefore, that macro shouldn't be undefined when building for Cygwin.
Reviewed-by: NAndy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5060)
上级 e02d5886
...@@ -49,7 +49,6 @@ extern "C" { ...@@ -49,7 +49,6 @@ extern "C" {
# define OPENSSL_SYS_WIN32_UWIN # define OPENSSL_SYS_WIN32_UWIN
# else # else
# if defined(__CYGWIN__) || defined(OPENSSL_SYS_CYGWIN) # if defined(__CYGWIN__) || defined(OPENSSL_SYS_CYGWIN)
# undef OPENSSL_SYS_UNIX
# define OPENSSL_SYS_WIN32_CYGWIN # define OPENSSL_SYS_WIN32_CYGWIN
# else # else
# if defined(_WIN32) || defined(OPENSSL_SYS_WIN32) # if defined(_WIN32) || defined(OPENSSL_SYS_WIN32)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册