diff options
author | Richard Levitte <levitte@openssl.org> | 2018-01-15 19:04:17 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-01-18 14:00:06 +0100 |
commit | 6ce66ce073b19af46fd94f4eefdb7c4772d7dd6f (patch) | |
tree | 55ab3bdfce8532da3447591a30e3651cc039bbb5 /engines/e_dasync.c | |
parent | Cygwin is POSIX, don't say it isn't (diff) | |
download | openssl-6ce66ce073b19af46fd94f4eefdb7c4772d7dd6f.tar.xz openssl-6ce66ce073b19af46fd94f4eefdb7c4772d7dd6f.zip |
Simplify Cygwin checks, part 1
Because OPENSSL_SYS_CYGWIN will keep OPENSSL_SYS_UNIX defined, there's
no point having checks of this form:
#if (defined(OPENSSL_SYS_UNIX) || defined(OPENSSL_SYS_CYGWIN))
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5060)
Diffstat (limited to 'engines/e_dasync.c')
-rw-r--r-- | engines/e_dasync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/e_dasync.c b/engines/e_dasync.c index 6fc7a7d0fa..d6d1b58e1f 100644 --- a/engines/e_dasync.c +++ b/engines/e_dasync.c @@ -25,7 +25,7 @@ #include <openssl/ssl.h> #include <openssl/modes.h> -#if (defined(OPENSSL_SYS_UNIX) || defined(OPENSSL_SYS_CYGWIN)) && defined(OPENSSL_THREADS) +#if defined(OPENSSL_SYS_UNIX) && defined(OPENSSL_THREADS) # undef ASYNC_POSIX # define ASYNC_POSIX # include <unistd.h> |