summaryrefslogtreecommitdiffstats
path: root/engines/e_dasync.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-01-15 19:04:17 +0100
committerRichard Levitte <levitte@openssl.org>2018-01-18 14:00:06 +0100
commit6ce66ce073b19af46fd94f4eefdb7c4772d7dd6f (patch)
tree55ab3bdfce8532da3447591a30e3651cc039bbb5 /engines/e_dasync.c
parentCygwin is POSIX, don't say it isn't (diff)
downloadopenssl-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.c2
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>