diff options
author | Richard Levitte <levitte@openssl.org> | 2018-01-11 22:01:44 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-01-18 14:00:06 +0100 |
commit | 33cebb9c0dd6115bc357b5097f7db82b64b10919 (patch) | |
tree | 0c3f7ee6737ec20fb46d411899fd95e54881ec1b /include | |
parent | e02d5886636095c26a8bff1bf8344bd0bba7ccff (diff) | |
download | openssl-33cebb9c0dd6115bc357b5097f7db82b64b10919.zip openssl-33cebb9c0dd6115bc357b5097f7db82b64b10919.tar.gz openssl-33cebb9c0dd6115bc357b5097f7db82b64b10919.tar.bz2 |
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: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5060)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/e_os2.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/openssl/e_os2.h b/include/openssl/e_os2.h index 746dd8f..f334863 100644 --- a/include/openssl/e_os2.h +++ b/include/openssl/e_os2.h @@ -49,7 +49,6 @@ extern "C" { # define OPENSSL_SYS_WIN32_UWIN # else # if defined(__CYGWIN__) || defined(OPENSSL_SYS_CYGWIN) -# undef OPENSSL_SYS_UNIX # define OPENSSL_SYS_WIN32_CYGWIN # else # if defined(_WIN32) || defined(OPENSSL_SYS_WIN32) |