[openssl-commits] [openssl] OpenSSL_1_1_0-stable update
Andy Polyakov
appro at openssl.org
Fri Oct 19 08:31:36 UTC 2018
The branch OpenSSL_1_1_0-stable has been updated
via f2828a14fbe2ce56b5090f45b2a9a6e749d33b22 (commit)
from d46f9173bbd62ffa7ae0b20bf05c600e14722cc6 (commit)
- Log -----------------------------------------------------------------
commit f2828a14fbe2ce56b5090f45b2a9a6e749d33b22
Author: Andy Polyakov <appro at openssl.org>
Date: Wed Oct 17 10:09:33 2018 +0200
arch/async_posix.h: improve portability.
{make|swap|get|set}context are removed in POSIX.1-2008, but glibc
apparently keeps providing it.
Reviewed-by: Richard Levitte <levitte at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7420)
(cherry picked from commit 9d71a24ebf57e7157888af1ca587eafe914bf96f)
-----------------------------------------------------------------------
Summary of changes:
crypto/async/arch/async_posix.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/crypto/async/arch/async_posix.h b/crypto/async/arch/async_posix.h
index 76937a9..939b4ab 100644
--- a/crypto/async/arch/async_posix.h
+++ b/crypto/async/arch/async_posix.h
@@ -17,7 +17,8 @@
# include <unistd.h>
-# if _POSIX_VERSION >= 200112L
+# if _POSIX_VERSION >= 200112L \
+ && (_POSIX_VERSION < 200809L || defined(__GLIBC__))
# include <pthread.h>
More information about the openssl-commits
mailing list